From c776932cc02055f06c5f80f8e5e7ad9911cbba95 Mon Sep 17 00:00:00 2001 From: KorbsStudio Date: Wed, 25 Jan 2023 03:26:20 -0500 Subject: [PATCH] Add icon and fix name --- build/electron-builder.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/build/electron-builder.yml b/build/electron-builder.yml index 61ef57c..6a5daf5 100644 --- a/build/electron-builder.yml +++ b/build/electron-builder.yml @@ -6,14 +6,17 @@ asar: true # Some things may not work on Windows if this is disabled mac: darkModeSupport: true category: "public.app-category.utilities" + icon: "build/icons/macOS/icon.icns" target: - "dmg" dmg: background: "build/macOS/background-installer.png" + icon: "build/icons/macOS/icon.icns" # Windows win: + icon: "build/Windows/icon.ico" target: - "appx" # Microsoft Store - "nsis" # Executable Setup @@ -26,9 +29,9 @@ appx: backgroundColor: "#313237" nsis: - shortcutName: "Nexus Polestar" - uninstallDisplayName: "Nexus Polestar" - artifactName: "Nexus Polestar - Setup.exe" + shortcutName: "App Name" + uninstallDisplayName: "App Name" + artifactName: "App Name - Setup.exe" oneClick: false # If you want a silent installer, enable this and ignore options below displayLanguageSelector: true allowElevation: false @@ -38,6 +41,7 @@ nsis: # Linux linux: + icon: "build/Linux/icon.png" category: Network maintainer: "net.company.appname" vendor: "Full Company Name" @@ -45,6 +49,7 @@ linux: target: - "snap" - "AppImage" + - "rpm" snap: # allowNativeWayland: true # Electron Builder doesn't know this option, yet it's listed in their documentations for Snap. I've submitted an issue: electron-userland/electron-builder #7330