Commandline Arguments #57

Merged
qurious-pixel merged 2 commits from patch-1 into main 2022-04-14 19:42:00 +02:00
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