Skip to content

Commit

Permalink
replace references to 'appPaths' to 'appPath' (quasarframework#4375)
Browse files Browse the repository at this point in the history
* cs (czech) lang (quasarframework#1874)

Hi guys, here is PR for Czech language :)

* references to `appPaths` changed to `appPath`

There is no variable named `appPaths`, only `appPath`  The incorrectly-named variable causes an error when running `quasar inspect -m electron -c build` : " ReferenceError: appPaths is not defined"
  • Loading branch information
2x2xplz authored and rstoenescu committed Jun 13, 2019
1 parent f3a2a4d commit 7b7ec26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/electron/bundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function installBundler (bundlerName) {
spawnSync(
nodePackager,
cmdParam.concat([`electron-${bundlerName}@${version}`]),
appPaths.appDir,
appPath.appDir,
() => warn(`Failed to install electron-${bundlerName}`)
)
}
Expand Down Expand Up @@ -73,7 +73,7 @@ module.exports.getBundler = function (bundlerName) {
}

module.exports.ensureBuilderCompatibility = function () {
if (fs.existsSync(appPaths.resolve.electron('icons/linux-256x256.png'))) {
if (fs.existsSync(appPath.resolve.electron('icons/linux-256x256.png'))) {
console.log()
console.log(`\n⚠️ electron-builder requires a change to your src-electron/icons folder:
* replace linux-256x256.png with a 512x512 px png file named "linux-512x512.png"
Expand Down

0 comments on commit 7b7ec26

Please sign in to comment.