Last active
April 14, 2022 15:02
-
-
Save hahouari/afadfe2576d6e08ef45d46cf35f3adf8 to your computer and use it in GitHub Desktop.
package.json for dist:w for both installer and portable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"scripts": { | |
... | |
"build": "./node_modules/.bin/electron-builder", | |
"dist:w": "yarn build -w --x64 && mv dist/GeneticPy.exe dist/GeneticPy-x64.exe && mv dist/GeneticPy-Installer.exe dist/GeneticPy-Installer-x64.exe && yarn build -w --ia32 && mv dist/GeneticPy.exe dist/GeneticPy-ia32.exe && mv dist/GeneticPy-Installer.exe dist/GeneticPy-Installer-ia32.exe" | |
}, | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment