diff --git a/package.js b/package.js index 0a976c5..7b5868b 100644 --- a/package.js +++ b/package.js @@ -20,7 +20,7 @@ const shouldBuildAll = argv.all || false; const DEFAULT_OPTS = { - dir: './', + dir: './static', name: appName, asar: shouldUseAsar, ignore: [ diff --git a/package.json b/package.json index 6d5ca76..ed1f242 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "build-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --progress --profile --colors", "build-renderer": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors", "build": "npm run build-main && npm run build-renderer", - "start": "cross-env NODE_ENV=production electron ./", + "start": "cross-env NODE_ENV=production electron ./static/", "start-hot": "cross-env HOT=1 NODE_ENV=development electron -r babel-register -r babel-polyfill ./app/main.development", "package": "cross-env NODE_ENV=production node -r babel-register package.js", "package-all": "npm run package -- --all",