From c6047033d18ade3ab726654d98676fab9b78b579 Mon Sep 17 00:00:00 2001 From: Quentin DECAUNES Date: Thu, 25 Jul 2019 18:18:18 +0200 Subject: [PATCH] Moved npm script build-win32 to build-exe for better understanding. --- .gitlab-ci.yml | 2 +- .vscode/tasks.json | 2 +- README.md | 2 +- package.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 841fb4e..8c9844b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -146,7 +146,7 @@ win32-installer: -v ${PWD}:/project -v ~/.cache/electron:/root/.cache/electron -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 artifacts: paths: diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 801f49c..ef7befd 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -20,7 +20,7 @@ }, { "type": "npm", - "script": "build-win32", + "script": "build-exe", "problemMatcher": [] }, { diff --git a/README.md b/README.md index 304445b..494574e 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ $> npm run-script package-linux ```bash $> cd project $> npm run-script package-win32 -$> npm run-script build-win32 +$> npm run-script build-exe ``` #### For Debian like diff --git a/package.json b/package.json index 9fd9abb..6ab2901 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "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-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-rpm": "electron-installer-redhat --src=release-builds/ryzencontroller-linux-x64/ --dest=installer-builds/installers/ --arch=amd64" },