Correct variable expansion

This commit is contained in:
qurious-pixel 2022-06-29 06:58:30 -07:00 committed by GitHub
parent 44079208eb
commit a770af5557
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
#!/bin/bash
directory=${APPIMAGE%$ARGV0}
directory=${APPIMAGE%${ARGV0/*\//}}
if [ -w $directory ] ; then
zenity --question --timeout=10 --title="yuzu updater" --text="New update available. Update now?" --icon-name=yuzu --window-icon=yuzu.svg --height=80 --width=400