Skip to content

Commit

Permalink
delete dist folder before build
Browse files Browse the repository at this point in the history
  • Loading branch information
Californ1a committed Oct 1, 2019
1 parent b397e2a commit 46ddf25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "electron .",
"pack:mac": "electron-zip-packager ./ --platform=darwin --arch=x64 --overwrite --ignore=build --out=dist --icon=build/icon.ico",
"pack": "electron-builder --dir",
"dist": "electron-builder -wl && npm run pack:mac"
"dist": "del /Q /F dist && electron-builder -wl && npm run pack:mac"
},
"build": {
"appId": "com.distplay.app",
Expand Down Expand Up @@ -51,4 +51,4 @@
"settings-panel": "^1.8.17",
"update-electron-app": "^1.5.0"
}
}
}

0 comments on commit 46ddf25

Please sign in to comment.