This repository has been archived by the owner on Jan 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
electron-builder.yml
88 lines (78 loc) · 1.64 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
productName: 'rUN'
appId: 'com.centrality.run'
artifactName: '${name}-${version}-${os}-${arch}.${ext}'
copyright: 'Copyright © 2019 Centrality'
# Package electron code into a asar archive. Set to false to debug issues.
asar: true
#asarUnpack:
# - "**/dist/**/*"
files:
- 'app/dist/'
- 'app/app.html'
- 'app/main.prod.js'
- 'app/main.prod.js.map'
- 'package.json'
extraFiles:
- from: 'app/common/assets/pdf'
to: 'dist/assets'
filter: ['**/*']
- from: 'dist/cennznet-node-${os}'
to: 'dist/cennznet-node'
- from: 'launcher-config/launcher-config-${os}.yaml'
to: 'dist/launcher-config.yaml'
# Mac OS configuration
mac:
icon: 'resources/icon.png'
target:
- 'zip'
- 'pkg'
- 'dmg'
extendInfo:
ProgramArguments:
- LAUNCHER_CONFIG=Resources/launcher-config.yaml
# Config for OSX dmg
dmg:
contents:
- x: 130
y: 220
- x: 410
y: 220
type: 'link'
path: '/Applications'
# Windows configuration
win:
icon: 'resources/icon.ico'
target:
- 'zip'
# - 'msi'
- 'nsis'
extraFiles:
- from: 'dist/cennznet-node-win.exe'
to: 'dist/cennznet-node.exe'
# Config for the windows installer
nsis:
oneClick: true
perMachine: true
# Linux configuration
linux:
category: Development
icon: 'resources/icons/256x256.png'
target:
- 'AppImage'
- 'zip'
- 'deb'
# - 'rpm'
# - 'snap'
#deb:
# depends:
# # --- Default START
# - gconf2
# - gconfg-service
# - libnotify4
# - libappindicator1
# - libxtst6
# - libnss3
# - libsecret-1-0 # This is needed for keytar on linux
directories:
buildResources: 'resources'
output: 'release'