-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathelectron-builder.js
56 lines (56 loc) · 1.31 KB
/
electron-builder.js
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
module.exports = {
appId: 'me.khushrajrathod.teledrive',
productName: 'TeleDrive',
copyright: 'Copyright © 2020 Khushraj Rathod',
artifactName: "${productName}-${version}-${arch}.${ext}",
directories: {
buildResources: 'icon'
},
extraResources: [
{
from: 'tdlib/${os}',
to: 'tdlib/${os}',
filter: [
'**/*'
]
}
],
files: [
'src/',
'LICENSE',
'icon/tray.png',
'icon/trayTemplate.png',
'icon/tray.ico'
],
mac: {
category: 'public.app-category.utilities',
darkModeSupport: 'false',
minimumSystemVersion: '10.13',
hardenedRuntime: 'true'
},
win: {
target: [
'appx',
'nsis'
]
},
snap: {
confinement: 'strict',
summary: 'An app that lets you automatically backup to Telegram Saved Messages',
grade: 'devel',
stagePackages: [
'libc++1',
'libssl1.0.0',
'libasound2',
'libgconf2-4',
'libnotify4',
'libnspr4',
'libnss3',
'libpcre3',
'libpulse0',
'libxss1',
'libxtst6'
]
},
afterPack: './scripts/linuxDepends.js',
}