diff --git a/contrib/AppRun b/contrib/AppRun index cf7e431..465dfa6 100755 --- a/contrib/AppRun +++ b/contrib/AppRun @@ -3,4 +3,5 @@ DIR="$(readlink -f "$(dirname "$0")")" export GTK_PATH="$DIR/usr/lib/gtk-2.0" export LD_LIBRARY_PATH="$DIR/usr/lib64" export PATH="$DIR/usr/bin:$PATH" +cd "$DIR" || exit 1 exec "$DIR/usr/bin/qpxtool" "$@"