forked from rancher-sandbox/rancher-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.yml
45 lines (45 loc) · 1.32 KB
/
electron-builder.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
copyright: Copyright © 2021-2022 SUSE
productName: Rancher Desktop
icon: ./resources/icons/logo-square-512.png
appId: io.rancherdesktop.app
asar: true
extraResources:
- resources/
- '!resources/darwin/lima-*.tgz'
- '!resources/linux/lima-*.tgz'
- '!resources/host/'
files:
- dist/app/**/*
- '!**/node_modules/*/prebuilds/!(${platform}*)/*.node'
mac:
entitlements: "build/entitlements.mac.plist"
entitlementsInherit: "build/entitlements.mac.inherit.plist"
darkModeSupport: true
hardenedRuntime: true
gatekeeperAssess: false
extendInfo:
NSCameraUsageDescription: ~
NSMicrophoneUsageDescription: ~
icon: ./resources/icons/mac-icon.png
target: [ dmg, zip ]
afterSign: "scripts/notarize.js"
win:
target: [ nsis, zip ]
signingHashAlgorithms: [ sha256 ] # We only support Windows 10 + WSL2
requestedExecutionLevel: asInvoker # The _app_ doesn't need privileges
linux:
category: Utility
executableName: rancher-desktop
artifactName: ${name}-${version}-linux.zip
extraResources:
- from: packaging/linux/rancher-desktop.desktop
to: resources/linux/rancher-desktop.desktop
target: [ zip ]
nsis:
license: LICENSE
include: build/installer.nsh
oneClick: false # Needed for restart prompt
publish:
provider: custom
upgradeServer: https://desktop.version.rancher.io/v1/checkupgrade
vPrefixedTagName: true