Merge pull request #57 from qurious-pixel/patch-1

Commandline Arguments
main
MGThePro 2022-04-14 19:41:59 +02:00 committed by GitHub
commit 3207ec03d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -9,9 +9,9 @@ GITVER=`wget -qO- https://api.github.com/repos/pineappleEA/pineapple-src/release
APPVER=`cat $APPDIR/version.txt`
if [[ -z "$GITVER" ]]; then
$APPDIR/AppRun-patched
$APPDIR/AppRun-patched "$@"
elif [ "$GITVER" = "$APPVER" ]; then
$APPDIR/AppRun-patched
$APPDIR/AppRun-patched "$@"
else
$APPDIR/update.sh
$APPDIR/update.sh "$@"
fi

View File

@ -4,10 +4,10 @@ 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 && $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/AppRun-patched
$APPDIR/AppRun-patched "$@"
elif [ "$answer" -eq 5 ]; then
$APPDIR/AppRun-patched
$APPDIR/AppRun-patched "$@"
fi
exit 0