diff --git a/apps/desktop/resources/memory-dump-wrapper.sh b/apps/desktop/resources/memory-dump-wrapper.sh index fa71cd7376..b62c050683 100644 --- a/apps/desktop/resources/memory-dump-wrapper.sh +++ b/apps/desktop/resources/memory-dump-wrapper.sh @@ -3,6 +3,10 @@ # disable core dumps ulimit -c 0 -APP_PATH=$(dirname "$0") +# might be behind symlink +RAW_PATH=$(readlink -f "$0") +APP_PATH=$(dirname $RAW_PATH) + # pass through all args -$APP_PATH/bitwarden-app "$@" \ No newline at end of file +$APP_PATH/bitwarden-app "$@" +