-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathelectron-builder.yml
65 lines (64 loc) · 1.57 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
appId: btime.github.io
productName: B Time
afterPack: 'removeLocales.js'
artifactName: '${productName}-${os}-${arch}-${version}.${ext}'
files:
- '**/*'
- '!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples}'
- '!**/node_modules/.bin'
- '!**/*.{o,hprof,orig,pyc,pyo,rbc}'
- '!**/._*'
- '!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock,.yarn-integrity}'
- '!**/node_modules/search-index/si${/*}'
- '!**/.github'
- '!**/release'
- '!**/*.md' # ignore md files
- '!**/*.yml' # ignore yml files
- '!**/src'
asar: true
compression: maximum
directories:
output: 'release/${version}'
win:
icon: 'public/icons/icon.ico'
publish:
- github
target:
- zip
- msi
- nsis
linux:
icon: 'public/icons/icon.icns'
maintainer: 'btime.github.io'
target:
- rpm
- AppImage
- deb
category: Utilities
publish:
- github
mac:
icon: 'public/icons/icon.icns'
target:
- target: dmg
arch:
- x64
- arm64
category: Utilities
publish:
- github
nsis:
perMachine: true
oneClick: false
installerIcon: 'public/icons/icon.ico'
deleteAppDataOnUninstall: true
runAfterFinish: true
createDesktopShortcut: true
allowToChangeInstallationDirectory: true
shortcutName: 'bTime'
npmRebuild: true
nodeGypRebuild: false
publish:
provider: github
owner: 'sajjadmrx'
repo: 'btime-desktop'