Skip to content

Commit

Permalink
Improve package script
Browse files Browse the repository at this point in the history
  • Loading branch information
Starwort committed Sep 5, 2021
1 parent b9f1f63 commit e5561ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"eject": "react-scripts eject",
"electron": "electron .",
"electron-dev": "electron . --debug",
"package": "rm -rf dist; rm yaim.zip; cp -R electron_bin dist; cp -R build dist/resources; cp electron_package.json dist/resources/build/package.json; cp main.js dist/resources/build; asar pack dist/resources/build dist/resources/app.asar; rm -rf dist/resources/build; cd dist; zip -r ../yaim.zip *"
"package": "rm -rf dist; rm yaim.zip; cp -R electron_bin dist; cp -R build dist/resources; cp electron_package.json dist/resources/package.json; cp main.js dist/resources; asar pack dist/resources dist/resources/app.asar; rm -rf dist/resources/build dist/resources/main.js dist/resources/package.json; cd dist; zip -r ../yaim.zip *"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit e5561ba

Please sign in to comment.