Skip to content

Commit a796d25

Browse files
authored
Merge pull request AhMyth#229 from zlocate/bugfix/useLocalElectronCli
Use npx to use local electron package instead global
2 parents 06ae12f + 2658df2 commit a796d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AhMyth-Server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"asarUnpack": "**/app/Factory/**/*"
1414
},
1515
"scripts": {
16-
"start": "electron ./app",
16+
"start": "npx electron ./app",
1717
"clean": "rm -rf ./dist",
1818
"pack": "npm run pack:linux32 && npm run pack:linux64 && npm run pack:win32 && npm run pack:win64",
1919
"pack:linux32": "electron-packager ./app $npm_package_name --out=dist/ --platform=linux --arch=ia32 --electron-version=1.6.11 --overwrite",

0 commit comments

Comments
 (0)