diff options
author | zxp19821005 | 2025-03-11 17:03:55 +0800 |
---|---|---|
committer | zxp19821005 | 2025-03-11 17:03:55 +0800 |
commit | d7ee3e92b22758ba5081431fa74bc9bd6a1eb718 (patch) | |
tree | dd90f4516fbe0aa9017abd32dd9c5d1f69be8859 /anytxt.sh | |
parent | a735125279e8fcee987ba3233f7e076bcc1aa08d (diff) | |
download | aur-d7ee3e92b22758ba5081431fa74bc9bd6a1eb718.tar.gz |
update to 1.3.1482
Diffstat (limited to 'anytxt.sh')
-rw-r--r-- | anytxt.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/anytxt.sh b/anytxt.sh new file mode 100644 index 000000000000..8ecdd5177007 --- /dev/null +++ b/anytxt.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -o pipefail +_APPDIR="/usr/lib/@appname@" +_RUNNAME="${_APPDIR}/@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}" || { echo "Failed to change directory to ${_APPDIR}"; exit 1; } +exec "${_RUNNAME}" "$@" || exit $?
\ No newline at end of file |