-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
package-append.json
66 lines (64 loc) · 2.07 KB
/
package-append.json
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
,"scripts": {
"copy-resources": "mkdir -p resources/linux && cp ../extra/linux/* ./resources/linux",
"start": "yarn run copy-resources && electron .",
"prepare-flatpak": "electron-builder --linux --dir",
"build-tar.xz-x64": "electron-builder --x64 --linux tar.xz",
"build-deb-x64": "electron-builder --x64 --linux deb",
"build-rpm-x64": "electron-builder --x64 --linux rpm",
"build-snap-x64": "electron-builder --x64 --linux snap",
"build-appimage-x64": "electron-builder --x64 --linux AppImage",
"build-tar.xz-arm64": "electron-builder --arm64 --linux tar.xz",
"build-deb-arm64": "electron-builder --arm64 --linux deb",
"build-rpm-arm64": "electron-builder --arm64 --linux rpm",
"build-appimage-arm64": "electron-builder --arm64 --linux AppImage"
},
"devDependencies": {
"electron": "^13.6.9",
"electron-builder": "^23.0.3"
},
"build": {
"files": [
"**"
],
"directories": {
"buildResources": "build",
"output": "../artifacts/${arch}"
},
"extraResources": [
{
"from": "../extra/",
"to": ".",
"filter": ["**"]
},
{
"from": "../",
"to": ".",
"filter": ["dev.aunetx.deezer.desktop", "dev.aunetx.deezer.svg"]
}
],
"linux": {
"maintainer": "aunetx <me@aunetx.dev>",
"icon": "../icons",
"category": "Utility;AudioVideo;Audio;Player;Music;",
"desktop": {
"Name": "Deezer",
"Type": "Application",
"GenericName": "Online music streaming service",
"Comment": "Listen and download all your favorite music",
"MimeType": "x-scheme-handler/deezer;",
"Keywords": "Music;Player;Streaming;Online;",
"StartupWMClass": "Deezer"
},
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"snap": {
"artifactName": "${productName}_${version}_${arch}.${ext}"
},
"deb": {
"artifactName": "${productName}_${version}_${arch}.${ext}"
},
"rpm": {
"artifactName": "${productName}-${version}.${arch}.${ext}"
}
}
}