diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ae37a1..7156935 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,9 @@ jobs: - run: npm run dist env: 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 with: name: orbe-launcher-windows diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..ae8bc54 --- /dev/null +++ b/LICENSE @@ -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. diff --git a/build/icon.ico b/build/icon.ico new file mode 100644 index 0000000..b32afab Binary files /dev/null and b/build/icon.ico differ diff --git a/build/installerHeader.bmp b/build/installerHeader.bmp new file mode 100644 index 0000000..1163442 Binary files /dev/null and b/build/installerHeader.bmp differ diff --git a/build/installerSidebar.bmp b/build/installerSidebar.bmp new file mode 100644 index 0000000..27a1f4d Binary files /dev/null and b/build/installerSidebar.bmp differ diff --git a/electron-builder.yml b/electron-builder.yml index 18fb020..c7638ec 100644 --- a/electron-builder.yml +++ b/electron-builder.yml @@ -1,5 +1,6 @@ appId: fr.yasder5.orbelauncher productName: Orbe Launcher +copyright: Copyright © 2026 Yasser Boulayoune directories: output: dist buildResources: build @@ -13,14 +14,33 @@ extraResources: asarUnpack: - node_modules/koffi/** win: - icon: build/icon.png + icon: build/icon.ico 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: oneClick: false + perMachine: false allowToChangeInstallationDirectory: true createDesktopShortcut: true + createStartMenuShortcut: true 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} portable: artifactName: ${productName}-Portable-${version}.${ext}