-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcom.github.krlvm.PowerTunnel.json
64 lines (64 loc) · 1.98 KB
/
com.github.krlvm.PowerTunnel.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
{
"app-id" : "com.github.krlvm.PowerTunnel",
"branch" : "stable",
"runtime" : "org.gnome.Platform",
"runtime-version" : "42",
"sdk" : "org.gnome.Sdk",
"sdk-extensions" : [ "org.freedesktop.Sdk.Extension.openjdk11" ],
"command": "com.github.krlvm.PowerTunnel",
"finish-args" : [
"--env=PATH=/app/jre/bin:/usr/bin:/app/bin",
"--share=network",
"--socket=x11",
"--socket=fallback-x11",
"--share=ipc",
"--socket=wayland",
"--socket=pulseaudio",
"--device=dri"
],
"modules" : [
{
"name" : "openjdk",
"buildsystem" : "simple",
"build-commands" : [ "/usr/lib/sdk/openjdk11/install.sh" ]
},
{
"name": "powertunnel",
"buildsystem": "simple",
"build-commands": [
"cp powertunnel.jar /app/"
],
"sources": [{
"type": "file",
"url": "https://github.com/krlvm/PowerTunnel/releases/download/v2.5.2/PowerTunnel.jar",
"dest-filename": "powertunnel.jar",
"sha256": "5250366ffc22fb366c8d15d1daa8ea89d87db874bcdd82ce8075f703859fce7d"
}]
},
{
"name": "powertunnel-startup",
"buildsystem": "simple",
"build-commands": [
"install -Dm755 powertunnel /app/bin/com.github.krlvm.PowerTunnel",
"install -Dm644 com.github.krlvm.PowerTunnel.desktop /app/share/applications/com.github.krlvm.PowerTunnel.desktop",
"install -Dm644 com.github.krlvm.PowerTunnel.metainfo.xml /app/share/metainfo/com.github.krlvm.PowerTunnel.metainfo.xml",
"install -Dm644 com.github.krlvm.PowerTunnel.png /app/share/icons/hicolor/256x256/apps/com.github.krlvm.PowerTunnel.png"
],
"sources": [{
"type": "file",
"path": "powertunnel"
},
{
"type": "file",
"path": "com.github.krlvm.PowerTunnel.png"
},
{
"type": "file",
"path": "com.github.krlvm.PowerTunnel.desktop"
},{
"type": "file",
"path": "com.github.krlvm.PowerTunnel.metainfo.xml"
}]
}
]
}