-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathelectron-builder.yml
35 lines (35 loc) · 1.02 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
appId: cn.staynoob.noob-dict-desktop
productName: 'noob-dictionary'
copyright: Copyright © 2019 ${author}
mac:
# https://www.electron.build/configuration/mac
category: public.app-category.utilities
icon: 'build/assets/icon/icon.icns'
target:
# "dmg and zip for Squirrel.Mac."
# it seems like we need "default" target to auto update
# see https://www.electron.build/configuration/mac
# - target: default
# Anyway, it seems like we need Code Signing to enable auto update in Mac
# Hence, we just use "dmg" target now.
- target: dmg
linux:
# https://www.electron.build/configuration/linux
# do not specify icon here
# "Linux icon set will be generated automatically based on the macOS icns file or common icon.png."
target:
- target: AppImage
win:
icon: 'build/assets/icon/icon@16x.png'
target:
- target: nsis
files:
- 'build/**/*'
- 'node_modules/**/*'
directories:
buildResources: 'build/assets'
publish:
provider: github
#asar: false
asarUnpack:
- 'build/assets/opencv/**/*'