skip update if offline
skip checking for update if offline.
This commit is contained in:
parent
b0ca4a21cf
commit
eb66a02a96
1 changed files with 4 additions and 1 deletions
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]++'`
|
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`
|
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
|
$APPDIR/usr/bin/yuzu
|
||||||
else
|
else
|
||||||
$APPDIR/update.sh
|
$APPDIR/update.sh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue