-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathelectron-builder.json5
84 lines (84 loc) · 2.08 KB
/
electron-builder.json5
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
/**
* @see https://www.electron.build/configuration/configuration
*/
{
appId: 'pony-house-matrix',
productName: 'Pony House',
copyright: 'Copyright © 2023 ${author}',
asar: true,
directories: {
output: 'release/${version}',
},
files: ['dist-electron', 'dist'],
linux: {
icon: 'build/icon.png',
target: ['AppImage', 'deb', 'tar.gz', 'snap'],
category: 'Network;Chat;InstantMessaging;',
desktop: {
Comment: 'Pony House matrix client',
Keywords: 'chat;pony;house;messaging;messenger;matrix;matrix-client;brony',
},
},
mac: {
icon: 'build/icon.icns',
category: 'public.app-category.social-networking',
artifactName: '${productName}_${version}.${ext}',
target: ['dmg', 'zip'],
},
win: {
icon: 'build/icon.ico',
target: [
'zip',
{
target: 'nsis',
arch: ['x64'],
},
],
artifactName: '${productName}_${version}.${ext}',
},
flatpak: {
finishArgs: [
// Wayland/X11 Rendering
'--socket=wayland',
'--socket=x11',
'--share=ipc',
// Open GL
'--device=dri',
// Audio output
'--socket=pulseaudio',
// Read/write home directory access
'--filesystem=home',
'--filesystem=/tmp',
'--filesystem=xdg-cache',
'--filesystem=xdg-config',
'--filesystem=xdg-download',
// Allow communication with network
'--share=network',
// System notifications with libnotify
'--talk-name=org.freedesktop.Notifications',
],
license: 'LICENSE',
},
snap: {
autoStart: false,
grade: 'stable',
compression: 'xz',
confinement: 'classic',
plugs: ['default'],
},
nsis: {
oneClick: false,
perMachine: false,
allowToChangeInstallationDirectory: true,
deleteAppDataOnUninstall: false,
uninstallDisplayName: 'Pony House',
installerSidebar: 'build/nsisSidebar.bmp',
uninstallerSidebar: 'build/nsisSidebar.bmp',
license: 'LICENSE',
},
publish: {
provider: 'generic',
channel: 'latest',
url: 'https://github.com/Pony-House/Client/releases/latest',
},
}