mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-06 05:24:13 -04:00
appimage: add ARGV0
check in AppRun
This commit is contained in:
parent
af2479da8d
commit
85b26ee61d
1 changed files with 3 additions and 1 deletions
|
@ -672,7 +672,9 @@ appimage() {
|
|||
export PATH="$(dirname $0)/usr/bin:${PATH}"
|
||||
export LD_LIBRARY_PATH="$(dirname $0)/usr/lib:${LD_LIBRARY_PATH}"
|
||||
|
||||
if [ "$1" == "cli" ]; then
|
||||
if command -v "${ARGV0#./}" >/dev/null 2>&1; then
|
||||
exec "${ARGV0#./}" "$@"
|
||||
elif [ "$1" == "cli" ]; then
|
||||
shift
|
||||
exec keepassxc-cli "$@"
|
||||
elif [ "$1" == "proxy" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue