Migrate release-tool to Python

This commit is contained in:
Janek Bevendorff 2023-12-19 23:40:50 +01:00 committed by Janek Bevendorff
parent 6f59444439
commit 33a747d5bc
10 changed files with 1460 additions and 2207 deletions

12
share/linux/appimage-apprun.sh Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
if [ "$1" == "cli" ] || [ "$(basename "$ARGV0")" == "keepassxc-cli" ] || [ "$(basename "$ARGV0")" == "keepassxc-cli.AppImage" ]; then
[ "$1" == "cli" ] && shift
exec keepassxc-cli "$@"
elif [ "$1" == "proxy" ] || [ "$(basename "$ARGV0")" == "keepassxc-proxy" ] || [ "$(basename "$ARGV0")" == "keepassxc-proxy.AppImage" ] \\
|| [ -v CHROME_WRAPPER ] || [ -v MOZ_LAUNCHED_CHILD ]; then
[ "$1" == "proxy" ] && shift
exec keepassxc-proxy "$@"
else
exec keepassxc "$@"
fi