From 1ec9ab46a83e343fb181bd42c850bdcf3b2d4882 Mon Sep 17 00:00:00 2001 From: tretrauit <3550664-tretrauit@users.noreply.gitlab.com> Date: Sun, 30 Jan 2022 12:35:26 +0000 Subject: [PATCH] Add new file --- pinEApple/pinEApple-portable-launcher.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pinEApple/pinEApple-portable-launcher.sh diff --git a/pinEApple/pinEApple-portable-launcher.sh b/pinEApple/pinEApple-portable-launcher.sh new file mode 100644 index 0000000..9319d61 --- /dev/null +++ b/pinEApple/pinEApple-portable-launcher.sh @@ -0,0 +1,20 @@ +#!/usr/bin/bash + +AUTHOR="tretrauit" +FAKE_APPRUN_SCRIPT='#!/usr/bin/bash +echo "Starting Yuzu..." +"$APPDIR"/usr/bin/yuzu' + +echo "pinEApple/Yuzu EA AppImage portable mode launcher by $AUTHOR" +echo "Removing old yuzu folder..." +rm -rf ./squashfs-root +echo "Extracting AppImage..." +./yuzu-x86_64.AppImage --appimage-extract +cd ./squashfs-root/ +echo "Patching..." +ln -sf ../user/ ./user +mv ./AppRun-patched ./AppRun-patched.bak +echo "$FAKE_APPRUN_SCRIPT" > ./AppRun-patched +chmod +x ./AppRun-patched +echo "Launching yuzu..." +APPDIR=./ ./AppRun