forked from flathub/io.brackets.Brackets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.brackets.Brackets.json
65 lines (65 loc) · 2.45 KB
/
io.brackets.Brackets.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
{
"app-id": "io.brackets.Brackets",
"branch": "stable",
"base": "io.atom.electron.BaseApp",
"base-version": "stable",
"runtime": "org.freedesktop.Sdk",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk",
"command": "brackets",
"separate-locales": false,
"finish-args": [
"--share=ipc",
"--socket=x11",
"--socket=pulseaudio",
"--socket=system-bus",
"--socket=session-bus",
"--share=network",
"--device=dri",
"--talk-name=org.freedesktop.Notifications",
"--talk-name=org.gtk.vfs.*",
"--talk-name=org.gnome.GConf",
"--filesystem=host"
],
"modules": [
{
"name": "brackets",
"buildsystem": "simple",
"build-commands": [
"if [[ $(uname -m) = 'x86_64' ]]; then ar x Brackets*.64-bit.deb; else ar x Brackets*.32-bit.deb; fi",
"tar -xf data.tar.xz",
"cp -r opt/brackets/* /app",
"mkdir -p /app/share/icons/hicolor/512x512/apps",
"mv usr/share/icons/hicolor/scalable/apps/brackets.svg /app/share/icons/hicolor/512x512/apps/io.brackets.Brackets.svg",
"rm -rf /app/share/icons/HighContrast",
"ln -sf /app/brackets /app/bin/brackets",
"sed -i 's|\"$HERE/Brackets\"|\"$HERE/Brackets\" --no-sandbox|g' /app/brackets",
"desktop-file-edit --set-key=Exec --set-value='brackets %F' --set-key=Icon --set-value=io.brackets.Brackets /app/brackets.desktop",
"mkdir -p /app/share/applications/",
"mv /app/brackets.desktop /app/share/applications/io.brackets.Brackets.desktop",
"install -Dm644 io.brackets.Brackets.appdata.xml /app/share/appdata/io.brackets.Brackets.appdata.xml"
],
"sources": [
{
"type": "file",
"url": "https://github.com/adobe/brackets/releases/download/release-1.14/Brackets.Release.1.14.64-bit.deb",
"sha256": "4df8490efb8a35ff93ac6975655ab4af9a56547eb4a346514803aa2e1f20f30e"
},
{
"type": "file",
"url": "https://github.com/adobe/brackets/releases/download/release-1.14/Brackets.Release.1.14.32-bit.deb",
"sha256": "2c0053fb50d1d79071d455a35fbe6f4f9cdb3cd1edf90bec55a4c0c90661a1f1"
},
{
"type": "file",
"path": "io.brackets.Brackets.appdata.xml"
},
{
"type": "file",
"url": "https://github.com/adobe/brackets/archive/release-1.14.tar.gz",
"sha256": "11dd7edcdacfe772d9ad2f824aa605972f0a3a6caab62f4957682287c1752838"
}
]
}
]
}