Merge pull request #72 from qurious-pixel/patch-2

Correct variable expansion
This commit is contained in:
MGThePro 2022-06-30 10:26:33 +02:00 committed by GitHub
commit c77e0b9e33
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