This commit is contained in:
qurious-pixel 2021-07-10 16:19:20 -07:00 committed by GitHub
parent 914ae5e75e
commit a567537688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,14 @@
#!/bin/bash #!/bin/bash
export QT_QPA_PLATFORMTHEME=gtk3
mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && cp $APPDIR/yuzu.svg $HOME/.local/share/icons/hicolor/scalable/apps mkdir -p $HOME/.local/share/icons/hicolor/scalable/apps && cp $APPDIR/yuzu.svg $HOME/.local/share/icons/hicolor/scalable/apps
GITVER=`wget -qO- https://api.github.com/repos/pineappleEA/pineapple-src/releases/latest | grep "releases/tag" | grep -o 'EA-[[:digit:]]*'` GITVER=`wget -qO- https://api.github.com/repos/pineappleEA/pineapple-src/releases/latest | grep "releases/tag" | grep -o 'EA-[[:digit:]]*'`
APPVER=`cat $APPDIR/version.txt` APPVER=`cat $APPDIR/version.txt`
if [[ -z "$GITVER" ]]; then if [[ -z "$GITVER" ]]; then
$APPDIR/usr/bin/yuzu $APPDIR/AppRun-patched
elif [ "$GITVER" = "$APPVER" ]; then elif [ "$GITVER" = "$APPVER" ]; then
$APPDIR/usr/bin/yuzu $APPDIR/AppRun-patched
else else
$APPDIR/update.sh $APPDIR/update.sh
fi fi