Skip to content

Commit 9193758

Browse files
committed
fix flatpak manifest
1 parent 4a9383c commit 9193758

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

com.github.devalien.workspaces.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"sdk": "org.freedesktop.Sdk",
66
"base": "io.elementary.BaseApp",
77
"base-version": "juno-19.08",
8-
"command": "com.github.devalien.workspaces",
8+
"command": "workspaces-wrapper",
99
"finish-args": [
1010
"--share=ipc",
1111
"--socket=fallback-x11",
@@ -26,6 +26,24 @@
2626
"*.a"
2727
],
2828
"modules": [
29+
{
30+
"name": "wrapper",
31+
"buildsystem": "simple",
32+
"build-commands": [
33+
"install -m755 workspaces-wrapper /app/bin"
34+
],
35+
"sources": [
36+
{
37+
"type": "script",
38+
"dest-filename": "workspaces-wrapper",
39+
"commands": [
40+
"export PATH=$PATH:/run/host/usr/bin",
41+
"export XDG_DATA_DIRS=$XDG_DATA_DIRS:/run/host/usr/share",
42+
"com.github.devalien.workspaces"
43+
]
44+
}
45+
]
46+
},
2947
{
3048
"name": "Workspaces",
3149
"buildsystem": "meson",
@@ -35,6 +53,9 @@
3553
"url": "https://github.com/devalien/workspaces.git",
3654
"branch": "master"
3755
}
56+
],
57+
"post-install": [
58+
"sed -i s:Exec=data/com.github.devalien.workspaces:Exec=/app/bin/workspaces-wrapper: /app/share/applications/com.github.devalien.workspaces.desktop"
3859
]
3960
}
4061
]

0 commit comments

Comments
 (0)