mirror of
https://gitlab.com/ryzen-controller-team/ryzen-controller.git
synced 2024-12-22 18:13:28 +07:00
Moved npm script build-win32 to build-exe for better understanding.
This commit is contained in:
parent
e27a059df2
commit
c6047033d1
@ -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
2
.vscode/tasks.json
vendored
@ -20,7 +20,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "npm",
|
"type": "npm",
|
||||||
"script": "build-win32",
|
"script": "build-exe",
|
||||||
"problemMatcher": []
|
"problemMatcher": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user