forked from 4gray/iptvnator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.json
More file actions
125 lines (125 loc) · 3.65 KB
/
Copy pathelectron-builder.json
File metadata and controls
125 lines (125 loc) · 3.65 KB
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
{
"appId": "com.fourgray.iptvnator",
"productName": "IPTVnator",
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"directories": {
"buildResources": "dist/apps",
"output": "dist/executables"
},
"files": [
{
"from": "dist/apps/remote-control-web",
"to": "remote-control-web",
"filter": ["**/*"]
},
"electron-backend/**/*",
"web/**/*",
"!**/*.map"
],
"asarUnpack": [
"**/better-sqlite3/**",
"**/bindings/**",
"**/file-uri-to-path/**",
"**/*.node",
"**/*.dylib"
],
"extraMetadata": {
"main": "electron-backend/main.js"
},
"extraResources": ["dist/apps/electron-backend/workers"],
"mac": {
"target": {
"target": "dmg",
"arch": ["x64", "arm64"]
},
"category": "public.app-category.video",
"forceCodeSigning": true,
"gatekeeperAssess": false,
"hardenedRuntime": true,
"entitlements": "apps/electron-backend/macos/entitlements.mac.plist",
"entitlementsInherit": "apps/electron-backend/macos/entitlements.mac.inherit.plist",
"notarize": true,
"icon": "apps/web/src/assets/icons/favicon.icns"
},
"linux": {
"category": "Video",
"target": [
{
"target": "AppImage",
"arch": ["x64", "armv7l", "arm64"]
},
{
"target": "deb",
"arch": ["x64", "armv7l", "arm64"]
},
{
"target": "Snap",
"arch": ["x64", "armv7l"]
},
{
"target": "rpm",
"arch": ["x64"]
},
{
"target": "pacman",
"arch": ["x64"]
},
{
"target": "flatpak",
"arch": ["x64"]
}
],
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"icon": "apps/web/src/assets/icons"
},
"flatpak": {
"branch": "stable",
"runtime": "org.freedesktop.Platform",
"runtimeVersion": "24.08",
"sdk": "org.freedesktop.Sdk",
"base": "org.electronjs.Electron2.BaseApp",
"baseVersion": "24.08",
"finishArgs": [
"--socket=wayland",
"--socket=x11",
"--share=ipc",
"--device=dri",
"--socket=pulseaudio",
"--filesystem=home",
"--share=network",
"--talk-name=org.freedesktop.Notifications",
"--talk-name=org.freedesktop.Flatpak"
],
"files": [
[
"apps/electron-backend/linux/com.fourgray.iptvnator.metainfo.xml",
"/share/metainfo/com.fourgray.iptvnator.metainfo.xml"
]
]
},
"afterPack": "./tools/packaging/electron-after-pack.cjs",
"snap": {
"base": "core22",
"confinement": "strict",
"grade": "stable",
"summary": "IPTV application for M3U playlists, Xtream Codes API, and Stalker portals",
"executableArgs": ["--ozone-platform=x11"],
"environment": {
"DISABLE_WAYLAND": "1"
}
},
"win": {
"compression": "maximum",
"target": [
{
"target": "nsis",
"arch": ["x64", "ia32"]
}
],
"artifactName": "${name}-${version}-windows-${arch}-setup.${ext}",
"icon": "apps/web/src/assets/icons/icon.png"
},
"nsis": {
"artifactName": "${name}-${version}-windows-${arch}-setup.${ext}"
}
}