fixed relative path

This commit is contained in:
Mikhail Tergoev 2024-06-23 14:14:59 +03:00
parent a088d2713a
commit 651893ac6c

@ -31,7 +31,7 @@ if [[ -f "$1" ]] ; then
portwine_exe="$(realpath "$1")"
elif [[ -f "$OLDPWD/$1" ]] && [[ "$1" == *.exe ]] ; then
portwine_exe="$(realpath "$OLDPWD/$1")"
elif [[ ! -z "$1" ]] && [[ ! -f "$OLDPWD/$1" ]] && [[ ! -f "$OLDPWD/$1" ]] ; then
elif [[ "$1" == *.exe ]] ; then
portwine_exe="$1"
MISSING_DESKTOP_FILE=1
fi