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`
|
APPVER=`cat $APPDIR/version.txt`
|
||||||
|
|
||||||
if [[ -z "$GITVER" ]]; then
|
if [[ -z "$GITVER" ]]; then
|
||||||
$APPDIR/AppRun-patched
|
$APPDIR/AppRun-patched "$@"
|
||||||
elif [ "$GITVER" = "$APPVER" ]; then
|
elif [ "$GITVER" = "$APPVER" ]; then
|
||||||
$APPDIR/AppRun-patched
|
$APPDIR/AppRun-patched "$@"
|
||||||
else
|
else
|
||||||
$APPDIR/update.sh
|
$APPDIR/update.sh "$@"
|
||||||
fi
|
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=$?
|
answer=$?
|
||||||
|
|
||||||
if [ "$answer" -eq 0 ]; then
|
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
|
elif [ "$answer" -eq 1 ]; then
|
||||||
$APPDIR/AppRun-patched
|
$APPDIR/AppRun-patched "$@"
|
||||||
elif [ "$answer" -eq 5 ]; then
|
elif [ "$answer" -eq 5 ]; then
|
||||||
$APPDIR/AppRun-patched
|
$APPDIR/AppRun-patched "$@"
|
||||||
fi
|
fi
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user