Installeur NSIS personnalisé (icône, bandeaux Orbe, français/anglais, licence) et signature de code prête dans la CI
Some checks are pending
CI / windows (push) Waiting to run

This commit is contained in:
yasder5 2026-10-14 21:18:30 +02:00
parent 1cfe89d1fd
commit bb3b0343a1
6 changed files with 46 additions and 2 deletions

View file

@ -21,6 +21,9 @@ jobs:
- run: npm run dist - run: npm run dist
env: env:
CSC_IDENTITY_AUTO_DISCOVERY: false CSC_IDENTITY_AUTO_DISCOVERY: false
# certificat de signature de code (secrets du dépôt) : sans eux, build non signé
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }}
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }}
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
name: orbe-launcher-windows name: orbe-launcher-windows

21
LICENSE Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Yasser Boulayoune
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

BIN
build/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
build/installerHeader.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

BIN
build/installerSidebar.bmp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

View file

@ -1,5 +1,6 @@
appId: fr.yasder5.orbelauncher appId: fr.yasder5.orbelauncher
productName: Orbe Launcher productName: Orbe Launcher
copyright: Copyright © 2026 Yasser Boulayoune
directories: directories:
output: dist output: dist
buildResources: build buildResources: build
@ -13,14 +14,33 @@ extraResources:
asarUnpack: asarUnpack:
- node_modules/koffi/** - node_modules/koffi/**
win: win:
icon: build/icon.png icon: build/icon.ico
target: [nsis, portable] target: [nsis, portable]
artifactName: ${productName}-${version}-${arch}.${ext} publisherName: Yasser Boulayoune
# Signature : faite seulement si un certificat est fourni (variables WIN_CSC_LINK / WIN_CSC_KEY_PASSWORD, voir README)
signtoolOptions:
signingHashAlgorithms: [sha256]
rfc3161TimeStampServer: http://timestamp.digicert.com
nsis: nsis:
oneClick: false oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true allowToChangeInstallationDirectory: true
createDesktopShortcut: true createDesktopShortcut: true
createStartMenuShortcut: true
shortcutName: Orbe Launcher shortcutName: Orbe Launcher
runAfterFinish: true
deleteAppDataOnUninstall: false
# fenêtre d'installation aux couleurs d'Orbe
installerIcon: build/icon.ico
uninstallerIcon: build/icon.ico
installerHeaderIcon: build/icon.ico
installerSidebar: build/installerSidebar.bmp
uninstallerSidebar: build/installerSidebar.bmp
installerHeader: build/installerHeader.bmp
license: LICENSE
installerLanguages: [fr_FR, en_US]
language: '1036'
multiLanguageInstaller: true
artifactName: ${productName}-Setup-${version}.${ext} artifactName: ${productName}-Setup-${version}.${ext}
portable: portable:
artifactName: ${productName}-Portable-${version}.${ext} artifactName: ${productName}-Portable-${version}.${ext}