forked from finos/SymphonyElectron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.yml
52 lines (45 loc) · 1.26 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
productName: "Symphony"
appId: "com.symphony.electron-desktop"
# Package electron code into a asar archive. Set to false to debug issues.
asar: true
# Unpack these files from asar to have them signed
asarUnpack:
- 'node_modules/@nornagon/cld/build/Release/cld.node'
- 'node_modules/@nornagon/spellchecker/build/Release/spellchecker.node'
- 'node_modules/keyboard-layout/build/Release/keyboard-layout-manager.node'
# Don't package these files
files:
- '!coverage/*'
- '!installer/*'
- '!tests/*'
- '!node_modules/@nornagon/cld/deps/cld${/*}'
- '!node_modules/@nornagon/cld/build/deps${/*}'
- '!node_modules/@nornagon/spellchecker/vendor${/*}'
# Extra files to package
extraFiles:
- 'config/Symphony.config'
- 'config/titleBarStyles.css'
- 'dictionaries/**'
- 'library/libsymphonysearch.dylib'
- 'library/indexvalidator.exec'
- 'library/cryptoLib.dylib'
- 'library/dictionary'
- 'library/lz4.exec'
# Mac OS configuration
mac:
category: 'public.app-category.business'
icon: 'images/icon.icns'
# Windows configuration
win:
icon: 'images/icon.ico'
target:
- 'squirrel'
# Linux configuration
linux:
category: 'Network;InstantMessaging;Chat'
desktop:
StartupWMClass: 'Symphony'
target:
- 'deb'
- 'rpm'
icon: 'images/linux'