forked from etc/pineapple-src
Merge pull request #57 from qurious-pixel/patch-1
Commandline Arguments
This commit is contained in:
commit
3207ec03d4
2 changed files with 6 additions and 6 deletions
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 a new issue