-
Notifications
You must be signed in to change notification settings - Fork 69
/
electron-builder.yml
82 lines (70 loc) · 1.39 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
productName: "BatchExplorer"
appId: "microsoft.azure.batch-explorer"
# Package electron code into a asar archive. Set to false to debug issues.
asar: true
files:
- "build/"
- "package.json"
- "dev-app-update.yml"
- "!node_modules/jschardet/"
extraResources:
- from: "python/dist/main"
to: "python-rpc"
filter:
- "**/*"
- "ThirdPartyNotices.txt"
- "data"
- "i18n"
- "node_modules/jschardet/"
protocols:
- name: "BatchExplorer protocol"
role: "Viewer"
schemes:
- ms-batchlabs
- ms-batch-explorer
# Mac OS configuration
mac:
icon: "src/app/assets/images/icon.icns"
# Config for OSX dmg
dmg:
contents:
- x: 130
y: 220
- x: 410
y: 220
type: "link"
path: "/Applications"
# Windows configuration
win:
icon: "src/app/assets/images/icon.ico"
target:
- "zip"
- "nsis"
# Config for the windows installer
nsis:
oneClick: true
perMachine: true
# Linux configuration
linux:
category: Development
target:
- "AppImage"
- "deb"
- "rpm"
deb:
depends:
# --- Default START
- gconf2
- gconf-service
- libnotify4
- libappindicator1
- libxtst6
- libnss3
# --- Default END
- libsecret-1-0 # This is needed for keytar on linux
directories:
buildResources: "resources"
output: "release"
publish:
provider: "generic"
url: "https://batchlabsdist.blob.core.windows.net/releases"