-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.yaml
106 lines (106 loc) · 2.37 KB
/
electron-builder.yaml
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# Electron Builder configuration file: Directs Electron builder to produce
# packages for our officially supported distributions.
#
# Formerly the "build" key in the package.json.
appId: com.darraghor.localdevtools
productName: LocalDevTools
npmRebuild: false
copyright: Copyright © 2023 Darragh O Riordan
# fileAssociations:
# - ext: md
# name: Markdown
# description: Markdown document
# mimeType: text/markdown
# role: Editor
# isPackage: false
# - ext: markdown
# name: Markdown
# description: Markdown document
# mimeType: text/markdown
# role: Editor
# isPackage: false
# - ext: rmd
# name: RMarkdown
# description: RMarkdown document
# mimeType: text/markdown
# role: Editor
# isPackage: false
directories:
output: release
#
# Generic macOS options
#
mac:
category: 'public.app-category.developer-tools'
target:
- dmg
artifactName: 'LocalDevTools-${version}-${arch}.${ext}'
icon: './src/assets/icons/icon.icns'
darkModeSupport: false
hardenedRuntime: true
gatekeeperAssess: false
entitlements: './src/assets/mac-store-meta/entitlements.plist'
entitlementsInherit: './src/assets/mac-store-meta/entitlements.plist'
#
# Generic Windows options
#
win:
target:
- nsis
artifactName: 'LocalDevTools-${version}-${arch}.${ext}'
icon: './src/assets/icons/icon.ico'
#
# Generic Linux options
#
linux:
target:
- AppImage
- deb
- rpm
- zip
artifactName: 'LocalDevTools-${version}-${arch}.${ext}'
executableName: LocalDevTools
synopsis: Local Dev Tools
category: Office
icon: './src/assets/icons/png'
desktop:
StartupWMClass: localDevTools
#
# Configuration for DMG builds
#
dmg:
# background: './resources/icons/dmg/dmg_back.tiff'
icon: './src/assets/icons/icon.icns'
contents:
- x: 130
y: 220
- x: 410
y: 220
type: link
path: '/Applications'
window:
width: 540
height: 400
#
# Configuration for NSIS builds
#
nsis:
oneClick: false
perMachine: false
allowElevation: true
allowToChangeInstallationDirectory: true
uninstallDisplayName: ${productName}
# installerHeader: './resources/NSIS/NSISinstallerHeader.bmp'
# installerSidebar: './resources/NSIS/NSISinstallerSidebar.bmp'
license: ./LICENSE
#
# Configuration for Debian builds
#
deb:
priority: optional
compression: xz
#
# Configuration for Fedora builds
#
rpm:
compression: xz