Moved npm script build-win32 to build-exe for better understanding.

This commit is contained in:
Quentin DECAUNES 2019-07-25 18:18:18 +02:00 committed by Quentin “Storm1er” Decaunes
parent e27a059df2
commit c6047033d1
4 changed files with 4 additions and 4 deletions

View File

@ -146,7 +146,7 @@ win32-installer:
-v ${PWD}:/project -v ${PWD}:/project
-v ~/.cache/electron:/root/.cache/electron -v ~/.cache/electron:/root/.cache/electron
-v ~/.cache/electron-builder:/root/.cache/electron-builder -v ~/.cache/electron-builder:/root/.cache/electron-builder
electronuserland/builder:wine-mono /bin/bash -c "npm run-script build-win32" electronuserland/builder:wine-mono /bin/bash -c "npm run-script build-exe"
- ls installer-builds/RyzenControllerInstaller.exe - ls installer-builds/RyzenControllerInstaller.exe
artifacts: artifacts:
paths: paths:

2
.vscode/tasks.json vendored
View File

@ -20,7 +20,7 @@
}, },
{ {
"type": "npm", "type": "npm",
"script": "build-win32", "script": "build-exe",
"problemMatcher": [] "problemMatcher": []
}, },
{ {

View File

@ -92,7 +92,7 @@ $> npm run-script package-linux
```bash ```bash
$> cd project $> cd project
$> npm run-script package-win32 $> npm run-script package-win32
$> npm run-script build-win32 $> npm run-script build-exe
``` ```
#### For Debian like #### For Debian like

View File

@ -8,7 +8,7 @@
"start": "electron .", "start": "electron .",
"package-win32": "electron-packager . --overwrite --platform=win32 --arch=ia32 --prune=true --out=release-builds --ignore=\".*-builds\" --icon=\"assets/icon.ico\" --win32metadata.requested-execution-level=requireAdministrator", "package-win32": "electron-packager . --overwrite --platform=win32 --arch=ia32 --prune=true --out=release-builds --ignore=\".*-builds\" --icon=\"assets/icon.ico\" --win32metadata.requested-execution-level=requireAdministrator",
"package-linux": "electron-packager . ryzencontroller --overwrite --platform=linux --arch=x64 --out release-builds --ignore=\".*-builds\" --icon=\"assets/icon.ico\"", "package-linux": "electron-packager . ryzencontroller --overwrite --platform=linux --arch=x64 --out release-builds --ignore=\".*-builds\" --icon=\"assets/icon.ico\"",
"build-win32": "node installers/windows/createinstaller.js", "build-exe": "node installers/windows/createinstaller.js",
"build-deb": "electron-installer-debian --src=release-builds/ryzencontroller-linux-x64/ --dest=installer-builds/installers/ --arch=amd64", "build-deb": "electron-installer-debian --src=release-builds/ryzencontroller-linux-x64/ --dest=installer-builds/installers/ --arch=amd64",
"build-rpm": "electron-installer-redhat --src=release-builds/ryzencontroller-linux-x64/ --dest=installer-builds/installers/ --arch=amd64" "build-rpm": "electron-installer-redhat --src=release-builds/ryzencontroller-linux-x64/ --dest=installer-builds/installers/ --arch=amd64"
}, },