Update AppRun

This commit is contained in:
Leonardo Zide
2024-11-11 12:46:38 -08:00
parent c5b916e7fc
commit 0829365a51
+2 -3
View File
@@ -1,7 +1,6 @@
#!/bin/bash -e
this_dir="\$(readlink -f "\$(dirname "\$0")")"
unset QTDIR; unset QT_PLUGIN_PATH
HERE="$(dirname "$(readlink -f "${0}")")"
# Find the system certificates location
# https://gitlab.com/probono/platformissues/blob/master/README.md#certificates
@@ -24,4 +23,4 @@ for location in "\${possible_locations[@]}"; do
fi
done
exec "\${this_dir}/usr/bin/leocad" "\$@"
exec "${HERE}/usr/bin/leocad" "$@"