Add files via upload

This commit is contained in:
sandboxgamedev123 2024-06-01 07:41:23 -04:00 committed by GitHub
parent e1b760f628
commit 46fb1272e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,31 @@
#!/usr/bin/env bash
if [ ! -f appimagetool-i686.AppImage ]; then
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-i686.AppImage
chmod +x appimagetool-i686.AppImage
fi
if [ ! -f linuxdeploy-i386.AppImage ]; then
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-i386.AppImage
chmod +x linuxdeploy-i386.AppImage
fi
DESTDIR=AppDir make install
./linuxdeploy-i386.AppImage --appimage-extract-and-run --appdir=AppDir \
--exclude-library="libX*" \
--exclude-library="libglib*" \
--exclude-library="libgobject*" \
--exclude-library="libgdk_pixbuf*" \
--exclude-library="libwayland*" \
--exclude-library="libgmodule*" \
--exclude-library="libgio*" \
--exclude-library="libxcb*" \
--exclude-library="libxkbcommon*" \
--exclude-library="libdb*"
rm AppDir/ppsspp.png
pushd AppDir
ln -s usr/share/icons/hicolor/256x256/apps/ppsspp.png
chmod +x AppRun
popd
./appimagetool-i686.AppImage --appimage-extract-and-run AppDir

View File

@ -0,0 +1,31 @@
#!/usr/bin/env bash
if [ ! -f appimagetool-x86_64.AppImage ]; then
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x appimagetool-x86_64.AppImage
fi
if [ ! -f linuxdeploy-x86_64.AppImage ]; then
wget https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
chmod +x linuxdeploy-x86_64.AppImage
fi
DESTDIR=AppDir make install
./linuxdeploy-x86_64.AppImage --appimage-extract-and-run --appdir=AppDir \
--exclude-library="libX*" \
--exclude-library="libglib*" \
--exclude-library="libgobject*" \
--exclude-library="libgdk_pixbuf*" \
--exclude-library="libwayland*" \
--exclude-library="libgmodule*" \
--exclude-library="libgio*" \
--exclude-library="libxcb*" \
--exclude-library="libxkbcommon*" \
--exclude-library="libdb*"
rm AppDir/ppsspp.png
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