Update makeappimage_64-bit.sh

This commit is contained in:
Samuel
2024-06-19 17:23:08 -04:00
committed by GitHub
parent c14a9f7fbe
commit 2ba1a1575d
+4 -2
View File
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
if [ ! -f appimagetool-x86_64.AppImage ]; then
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
APPIMAGETOOL=$(wget -q https://api.github.com/repos/probonopd/go-appimage/releases -O - | sed 's/"/ /g; s/ /\n/g' | grep -o 'https.*continuous.*tool.*86_64.*mage$')
wget -q "$APPIMAGETOOL" -O ./appimagetool-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage
fi
@@ -28,4 +29,5 @@ pushd AppDir
ln -s usr/share/icons/hicolor/256x256/apps/ppsspp.png
chmod +x AppRun
popd
./appimagetool-x86_64.AppImage --appimage-extract-and-run AppDir
ARCH=x86_64
VERSION=$(./AppDir/AppRun --version) ./appimagetool-x86_64.AppImage --appimage-extract-and-run AppDir