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 #!/bin/bash
directory=${APPIMAGE%$ARGV0} directory=${APPIMAGE%${ARGV0/*\//}}
if [ -w $directory ] ; then 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 zenity --question --timeout=10 --title="yuzu updater" --text="New update available. Update now?" --icon-name=yuzu --window-icon=yuzu.svg --height=80 --width=400