Skip to content

Commit

Permalink
fix flatpak manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
DevAlien committed Aug 20, 2020
1 parent 4a9383c commit 9193758
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion com.github.devalien.workspaces.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sdk": "org.freedesktop.Sdk",
"base": "io.elementary.BaseApp",
"base-version": "juno-19.08",
"command": "com.github.devalien.workspaces",
"command": "workspaces-wrapper",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
Expand All @@ -26,6 +26,24 @@
"*.a"
],
"modules": [
{
"name": "wrapper",
"buildsystem": "simple",
"build-commands": [
"install -m755 workspaces-wrapper /app/bin"
],
"sources": [
{
"type": "script",
"dest-filename": "workspaces-wrapper",
"commands": [
"export PATH=$PATH:/run/host/usr/bin",
"export XDG_DATA_DIRS=$XDG_DATA_DIRS:/run/host/usr/share",
"com.github.devalien.workspaces"
]
}
]
},
{
"name": "Workspaces",
"buildsystem": "meson",
Expand All @@ -35,6 +53,9 @@
"url": "https://github.com/devalien/workspaces.git",
"branch": "master"
}
],
"post-install": [
"sed -i s:Exec=data/com.github.devalien.workspaces:Exec=/app/bin/workspaces-wrapper: /app/share/applications/com.github.devalien.workspaces.desktop"
]
}
]
Expand Down

0 comments on commit 9193758

Please sign in to comment.