1
Fork 0
This repository has been archived on 2024-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
Nexus-Polestar/electron-builder.yml

63 lines
1.7 KiB
YAML
Raw Normal View History

2023-01-24 22:40:28 -05:00
productName: "App Name"
appId: "net.company.appname"
asar: true # Some things may not work on Windows if this is disabled
# macOS
mac:
darkModeSupport: true
category: "public.app-category.utilities"
2023-01-28 06:35:45 -05:00
icon: "build/assets/icons/macOS.icns"
2023-01-24 22:40:28 -05:00
target:
- "dmg"
dmg:
2023-01-28 06:35:45 -05:00
background: "build/assets/backgrounds/DMG-Installer.png"
icon: "build/assets/icons/macOS.icns"
2023-01-24 22:40:28 -05:00
# Windows
win:
2023-01-28 06:35:45 -05:00
icon: "build/assets/icons/Windows.png"
2023-01-24 22:40:28 -05:00
target:
- "appx" # Microsoft Store
- "nsis" # Executable Setup
appx:
applicationId: "net.company.appname"
identityName: "00000Company.AppName"
publisher: "CN=000A00A0-A00A-0A00-AAA0-0AAA00A000AA"
publisherDisplayName: "Full Company Name"
backgroundColor: "#313237"
nsis:
2023-01-25 03:26:20 -05:00
shortcutName: "App Name"
uninstallDisplayName: "App Name"
artifactName: "App Name - Setup.exe"
2023-01-24 22:40:28 -05:00
oneClick: false # If you want a silent installer, enable this and ignore options below
2023-01-28 06:35:45 -05:00
installerSidebar: "build/assets/backgrounds/EXE-Setup-Sidebar.bmp" # Must be a BMP: https://cloudconvert.com/png-to-bmp
2023-01-24 22:40:28 -05:00
displayLanguageSelector: true
allowElevation: false
allowToChangeInstallationDirectory: true
createDesktopShortcut: false
deleteAppDataOnUninstall: true
# Linux
linux:
2023-01-28 06:35:45 -05:00
icon: "build/assets/icons/Linux.png"
2023-01-24 22:40:28 -05:00
category: Network
maintainer: "net.company.appname"
vendor: "Full Company Name"
description: "The description of the application."
target:
- "snap"
- "AppImage"
2023-01-25 03:26:20 -05:00
- "rpm"
2023-01-24 22:40:28 -05:00
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
confinement: "strict"
# Update Server
# publish:
# provider: "generic"
# url: "https://distribute.korbsstudio.com/applications/app-name/latest/"