diff options
Diffstat (limited to 'apk-editor-studio.sh')
-rw-r--r-- | apk-editor-studio.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apk-editor-studio.sh b/apk-editor-studio.sh new file mode 100644 index 000000000000..a5713ebc8888 --- /dev/null +++ b/apk-editor-studio.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -e +_APPDIR="/opt/@appname@" +_RUNNAME="${_APPDIR}/bin/@runname@" +export PATH="${_APPDIR}:${PATH}" +export LD_LIBRARY_PATH="${_APPDIR}/lib:${LD_LIBRARY_PATH}" +export QT_PLUGIN_PATH="${_APPDIR}/plugins:${QT_PLUGIN_PATH}" +export QML_IMPORT_PATH="${_APPDIR}/qml:${QML_IMPORT_PATH}" +export QML2_IMPORT_PATH="${_APPDIR}/qml:${QML2_IMPORT_PATH}" +export QT_QPA_PLATFORMTHEME="gtk2" +cd "${_APPDIR}" +exec "${_RUNNAME}" "$@" || exit $?
\ No newline at end of file |