mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-11-25 03:48:24 -05:00
skip update if offline
skip checking for update if offline.
This commit is contained in:
parent
b0ca4a21cf
commit
eb66a02a96
5
.github/workflows/AppRun
vendored
5
.github/workflows/AppRun
vendored
@ -7,8 +7,11 @@ mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && cp $APPDIR/yuzu.svg $
|
||||
GITVER=`wget -qO- https://www.github.com/pineappleEA/pineapple-src/releases/tag/continuous | grep pineappleEA/pineapple-src/commit/ | cut -d '"' -f 2 | cut -d '/' -f 5 | awk '!x[$0]++'`
|
||||
APPVER=`cat $APPDIR/version.txt`
|
||||
|
||||
if [ "$GITVER" = "$APPVER" ]; then
|
||||
if [[ -z "$GITVER" ]]; then
|
||||
$APPDIR/usr/bin/yuzu
|
||||
elif [ "$GITVER" = "$APPVER" ]; then
|
||||
$APPDIR/usr/bin/yuzu
|
||||
else
|
||||
$APPDIR/update.sh
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user