build: add AppImage packaging script
This commit is contained in:
1 parent
be658edeec
commit
5b1c1a75be
3 files changed
+136
No files matched your search
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
# Start the real binary by its path inside the AppImage. A symlinked AppRun makes Qt take
|
||||
# the AppImage root as the application dir, so it misses usr/bin/qt.conf and finds no
|
||||
# platform plugins.
|
||||
HERE="$(dirname "$(readlink -f "$0")")"
|
||||
# The Plasma platform theme's own file dialog lists folders through KIO workers, which are
|
||||
# not bundled (it would show every folder as empty). Use the host's dialog via the
|
||||
# xdg-desktop-portal instead.
|
||||
export PLASMA_INTEGRATION_USE_PORTAL=1
|
||||
export XDG_DATA_DIRS="$HERE/usr/share:${XDG_DATA_DIRS:-/usr/local/share:/usr/share}"
|
||||
exec "$HERE/usr/bin/qtpotato" "$@"
|
||||
Reference in new issue
Block a user