auto-restart after update

This commit is contained in:
qurious-pixel 2021-01-19 10:47:14 -08:00 committed by GitHub
parent a975e1dac2
commit b0ca4a21cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ zenity --question --timeout=10 --title="yuzu updater" --text="New update availab
answer=$?
if [ "$answer" -eq 0 ]; then
$APPDIR/usr/bin/AppImageUpdate $PWD/yuzu-x86_64.AppImage
$APPDIR/usr/bin/AppImageUpdate $PWD/yuzu-x86_64.AppImage && $PWD/yuzu-x86_64.AppImage
elif [ "$answer" -eq 1 ]; then
$APPDIR/usr/bin/yuzu
elif [ "$answer" -eq 5 ]; then