Skip to content

Commit

Permalink
fix dist problem
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamfliper committed Mar 16, 2017
1 parent 895ef98 commit fb8a056
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .gitignore
@@ -1,8 +1,5 @@
.DS_Store
app/dist/index.html
app/dist/main.js
app/dist/renderer.js
app/dist/styles.css
app/dist/*
builds/*
node_modules/
npm-debug.log
Expand Down
4 changes: 2 additions & 2 deletions config.js
Expand Up @@ -14,8 +14,8 @@ let config = {
// Docs: https://simulatedgreg.gitbooks.io/electron-vue/content/docs/building_your_app.html
building: {
arch: 'x64',
asar: true,
dir: path.join(__dirname, 'app'),
asar: false,
dir: path.join(__dirname, 'app/'),
icon: path.join(__dirname, 'app/icons/icon'),
ignore: /\b(src|index\.ejs|icons)\b/,
out: path.join(__dirname, 'builds'),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -13,7 +13,7 @@
"pack": "npm run pack:main && npm run pack:renderer",
"pack:main": "cross-env NODE_ENV=production webpack -p --progress --colors --config webpack.main.config.js",
"pack:renderer": "cross-env NODE_ENV=production webpack -p --progress --colors --config webpack.renderer.config.js",
"postinstall": "cd app && npm install && ./app/node_modules/.bin/electron-rebuild"
"postinstall": "cd app && npm install && ./node_modules/.bin/electron-rebuild"
},
"author": "Greg Holguin <simulatedgreg@gmail.com>",
"license": "MIT",
Expand Down

0 comments on commit fb8a056

Please sign in to comment.