forked from Zettlr/Zettlr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.yml
106 lines (106 loc) · 2.19 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
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.zettlr.app
productName: Zettlr
npmRebuild: false
copyright: Zettlr is licensed under GNU GPL v3.
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.productivity"
target:
- dmg
artifactName: "Zettlr-${version}-${arch}.${ext}"
icon: "./resources/icons/icon.icns"
darkModeSupport: true
hardenedRuntime: true
gatekeeperAssess: false
entitlements: "./scripts/assets/entitlements.plist"
entitlementsInherit: "./scripts/assets/entitlements.plist"
#
# Generic Windows options
#
win:
target:
- nsis
artifactName: "Zettlr-${version}-${arch}.${ext}"
icon: "./resources/icons/icon.ico"
#
# Generic Linux options
#
linux:
target:
- AppImage
- deb
- rpm
- zip
artifactName: "Zettlr-${version}-${arch}.${ext}"
executableName: Zettlr
synopsis: Markdown editor
category: Office
icon: "./resources/icons/png"
desktop:
StartupWMClass: zettlr
#
# Configuration for DMG builds
#
dmg:
background: "./resources/icons/dmg/dmg_back.tiff"
icon: "./resources/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