Skip to content

Commit 9d6f82b

Browse files
Merge pull request #1 from xwartz/master
Fix some scrips
2 parents 4e5e73f + f58419f commit 9d6f82b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const shouldBuildAll = argv.all || false;
2020

2121

2222
const DEFAULT_OPTS = {
23-
dir: './',
23+
dir: './static',
2424
name: appName,
2525
asar: shouldUseAsar,
2626
ignore: [

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"build-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors",
1414
"build-renderer": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors",
1515
"build": "npm run build-main && npm run build-renderer",
16-
"start": "cross-env NODE_ENV=production electron ./",
16+
"start": "cross-env NODE_ENV=production electron ./static/",
1717
"start-hot": "cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./app/main.development",
1818
"package": "cross-env NODE_ENV=production node -r babel-register package.js",
1919
"package-all": "npm run package -- --all",

0 commit comments

Comments
 (0)