-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
70 lines (70 loc) · 1.74 KB
/
electron-builder.yml
File metadata and controls
70 lines (70 loc) · 1.74 KB
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
appId: org.gov4git
productName: Gov4Git
asar: true
directories:
buildResources: buildResources
output: release
electronDownload:
cache: './.electron-cache'
files:
- '**/*'
- '!**/.vscode/**/*'
- '!.electron-cache/**/*'
- '!**/node_modules/**/{CHANGELOG.md,README.md,README,readme.md,readme}'
- '!**/node_modules/**/{test,__tests__,tests,powered-test,example,examples}'
- '!**/node_modules/**/*.d.ts'
- '!**/node_modules/.bin'
- '!**/*.{iml,o,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,xproj}'
- '!**/{.git,.gitignore,.gitattributes}'
- '!**/azure_pipelines.yml'
- '!**/npm-debug.log'
- '!src/**/*'
- '!migrations/**/*'
- '!scripts/**/*'
- '!{.editorconfig,.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsup.config.ts,vite.webapp.config.ts}'
extraResources:
- from: 'extraResources'
to: '.'
filter:
- 'app-update.yml'
- from: 'migrations'
to: 'migrations'
filter:
- '**/*'
win:
executableName: Gov4Git
nsis:
oneClick: true
perMachine: false
packElevateHelper: false
artifactName: ${name}-setup.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
afterSign: ./scripts/notarize.js
mac:
artifactName: ${name}.${ext}
type: distribution
gatekeeperAssess: false
hardenedRuntime: true
entitlements: assets/entitlements.mac.plist
entitlementsInherit: assets/entitlements.mac.plist
notarize: false
target:
- dmg
- zip
linux:
target:
- AppImage
maintainer: gov4git.org
category: Utility
appImage:
artifactName: ${name}.${ext}
npmRebuild: true
buildDependenciesFromSource: true
publish:
- provider: github
protocol: https
private: false