-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathelectron-builder.yml
144 lines (129 loc) · 2.79 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
productName: Deadbolt
appId: org.alichtman.deadbolt
asar: true
asarUnpack: "**\\*.{node,dll}"
files:
- dist
- node_modules
- package.json
mac:
sign: .erb/scripts/notarize.js # TODO: https://github.com/alichtman/deadbolt/issues/68
notarize: false
target:
target: dmg
arch:
- x64
- arm64
type: distribution
hardenedRuntime: true
entitlements: assets/entitlements.mac.plist
entitlementsInherit: assets/entitlements.mac.plist
gatekeeperAssess: false
dmg:
writeUpdateInfo: false
contents:
- x: 130
y: 220
- x: 410
y: 220
type: link
path: /Applications
win:
target:
- target: nsis
arch:
- x64
- arm64
- target: portable
arch:
- x64
- arm64
nsis:
differentialPackage: false
createDesktopShortcut: true
createStartMenuShortcut: true
oneClick: false
linux:
target:
- target: flatpak
arch:
- x64
- target: AppImage
arch:
- x64
- arm64
- armv7l
# - target: deb
# packageName: deadbolt
# arch:
# - x64
# - arm64
# - armv7l
# TODO: Can't build pacman or rpm stuff on Fedora41, I think due to https://github.com/electron-userland/electron-installer-redhat/pull/344
# - target: pacman
# arch:
# - x64
# - arm64
# - armv7l
# - target: rpm
# arch:
# - x64
# - arm64
# - armv7l
category: Utility
icon: assets/icon.png
desktop:
Name: Deadbolt
Comment: Dead-simple file encryption for any OS
Categories: Utility;Security;
Keywords: encryption;security;privacy
StartupNotify: 'false'
Encoding: UTF-8
Type: Application
artifactName: ${productName}-${version}.${arch}.${ext}
# rpm:
# packageName: deadbolt
# fpm:
# - --after-install
# - installer/linux/after-install.tpl
# # - --rpm-os
# # - linux
# # - --rpm-rpmbuild-define
# # - _build_id_links none
# # - --rpm-rpmbuild-define
# # - _binary_payload w2.xzdio
# depends:
# - mesa-libGL
# - mesa-libgbm
# - libglvnd
# - xorg-x11-server-Xvfb
# - gtk3
# - libwayland-client
# - libwayland-cursor
# - libwayland-egl
# - libEGL
# compression: xz
directories:
app: release/app
buildResources: assets
output: release/build
extraResources:
- ./assets/**
publish:
provider: github
owner: alichtman
repo: deadbolt
flatpak:
runtimeVersion: '23.08'
runtime: org.freedesktop.Platform
sdk: org.freedesktop.Sdk
base: org.electronjs.Electron2.BaseApp
baseVersion: '23.08'
finishArgs:
- '--share=ipc'
- '--socket=x11'
- '--socket=wayland'
- '--device=dri'
- '--filesystem=home'
- '--env=GDK_BACKEND=wayland,x11'
- '--env=ELECTRON_OZONE_PLATFORM_HINT=auto'