mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-25 10:08:24 -05:00
Merge pull request #57 from qurious-pixel/patch-1
Commandline Arguments
This commit is contained in:
commit
3207ec03d4
6
.github/workflows/AppRun
vendored
6
.github/workflows/AppRun
vendored
@ -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
|
||||
|
6
.github/workflows/update.sh
vendored
6
.github/workflows/update.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user