-
Notifications
You must be signed in to change notification settings - Fork 9
/
electron-builder.yml
62 lines (62 loc) · 1.54 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
appId: com.fairdataihub.sodaforsparc
productName: SODA for SPARC
directories:
buildResources: build
files:
- "!**/.vscode/*"
- "!src/main/*"
- "!src/renderer/*"
- "!src/preload/*"
- "!electron.vite.config.{js,ts,mjs,cjs}"
- "!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}"
- "!{.env,.env.*,.npmrc,pnpm-lock.yaml}"
- "!docs/*"
asarUnpack:
- resources/**
win:
icon: "app-icon/win/icon.ico"
executableName: SODA for SPARC
extraResources:
- from: ./file_templates
to: ./file_templates
- from: ./pyflaskdist/app.exe
asar: true
target:
- nsis
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
icon: "app-icon/png/icon.png"
entitlementsInherit: ./entitlements.mac.inherit.plist
notarize: true
extraResources:
- from: ./pyflaskdist/app
- from: ./file_templates
to: ./file_templates
- from: ./pennsieve-io-chain.pem
to: ./pennsieve-io-chain.pem
dmg:
artifactName: ${name}-${version}.${ext}
linux:
target:
- AppImage
extraResources:
- from: ./pyflaskdist/app
- from: ./file_templates
to: ./file_templates
- from: ./pennsieve-io-chain.pem
to: ./pennsieve-io-chain.pem
asar: true
maintainer: electronjs.org
category: Utility
icon: "icons/icon.png"
appImage:
artifactName: ${name}-${version}.${ext}
npmRebuild: false
publish:
- provider: github
protocol: https
afterSign: ./notarize.js