-
Notifications
You must be signed in to change notification settings - Fork 39
/
electron-builder.yml
139 lines (120 loc) · 2.88 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
appId: "org.qortal.QortalUI"
productName: "Qortal UI"
copyright: "Copyright © 2021 - 2023 Qortal"
# forceCodeSigning: false
# nodeGypRebuild: false
compression: normal
asar: true
afterPack: "./scripts/afterPack.js"
afterSign: "./scripts/notarize.js"
files:
- from: "."
to: "."
filter:
- "electron.js"
- "img/"
- "node_modules/"
- "server.js"
- "package.json"
- "builtWWW/"
- "config/"
- "scripts/"
- "build/"
- "lib/*.js"
- "locales/*.json"
- "splash/"
- "crypto/"
- "core/"
- "plugins/"
# Mac OS configuration
mac:
icon: "./img/icons/icns/256x256.icns"
hardenedRuntime: true
gatekeeperAssess: false
entitlements: "./build/entitlements.mac.plist"
entitlementsInherit: "./build/entitlements.mac.plist"
category: "public.app-category.utilities"
asarUnpack: "**/*.node"
target:
- { target: dmg }
- { target: pkg }
# Config for OSX dmg
dmg:
sign: false
artifactName: "Qortal-Setup-macOS.${ext}"
icon: "./img/icons/icns/256x256.icns"
iconSize: 100
contents:
- x: 130
y: 220
- x: 410
y: 220
type: "link"
path: "/Applications"
# Config for OSX pkg
pkg:
artifactName: "Qortal-Setup-macOS.${ext}"
installLocation: "/Applications"
background: {
file: "./build/logo.png",
alignment: "bottomleft",
scaling: "none"
}
allowAnywhere: true
allowCurrentUserHome: true
allowRootDirectory: true
isVersionChecked: true
isRelocatable: false
overwriteAction: "upgrade"
# Windows configuration
win:
legalTrademarks: "QORTAL.ORG"
icon: "./img/icons/ico/256x256.ico"
target:
- "nsis"
- "portable"
# Config for the windows installer
nsis:
artifactName: "Qortal-Setup-win64.${ext}"
oneClick: false
perMachine: true
installerSidebar: "./img/win-installer-sidebar.bmp"
uninstallerSidebar: "./img/win-uninstaller-sidebar.bmp"
runAfterFinish: true
deleteAppDataOnUninstall: true
createDesktopShortcut: true
createStartMenuShortcut: true
# Linux configuration
linux:
icon: "./img/icons/png/"
category: "Network"
packageCategory: "Network"
desktop:
StartupWMClass: qortal-ui
executableArgs:
- --no-sandbox
target:
- "deb"
- "AppImage"
- "snap"
- "rpm"
asar: true
deb:
artifactName: "Qortal-Setup-amd64.${ext}"
synopsis: "Qortal UI for Linux"
afterInstall: "./scripts/add-debian-apt-repo.sh"
afterRemove: "./scripts/uninstall-debian-conf.sh"
appImage:
artifactName: "Qortal-Setup-amd64.${ext}"
snap:
artifactName: "Qortal-Setup-amd64.${ext}"
synopsis: "Qortal UI for Linux"
rpm:
artifactName: "Qortal-Setup-amd64.${ext}"
directories:
output: dist
buildResources: "./build/"
publish:
provider: github
owner: Qortal
repo: qortal-ui