Add icon and fix name

This commit is contained in:
KorbsStudio 2023-01-25 03:26:20 -05:00
parent 67914ccc1f
commit c776932cc0
No known key found for this signature in database

View file

@ -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