From e5a8561bf4868f7a9d29c17ca39850179eba4b9b Mon Sep 17 00:00:00 2001 From: qurious-pixel <62252937+qurious-pixel@users.noreply.github.com> Date: Sun, 13 Aug 2023 20:28:07 -0700 Subject: [PATCH] linuxdeploy --- .github/assets/appimage.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/assets/appimage.sh b/.github/assets/appimage.sh index 7a2138d1..0285831f 100644 --- a/.github/assets/appimage.sh +++ b/.github/assets/appimage.sh @@ -1,16 +1,19 @@ BINNAME=rpcsx curl -sSfL https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -o appimagetool +curl -sSfL https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage -o linuxdeploy mkdir -p AppDir/usr/bin cp -r build/bin AppDir/usr/ chmod +x AppDir/usr/bin ln -sr AppDir/usr/bin/${BINNAME}-os AppDir/AppRun +chmod a+x appimagetool linuxdeploy +ARCH=x86_64 ./linuxdeploy --appdir=AppDir + cp ci/.github/assets/${BINNAME}.png AppDir/ cp ci/.github/assets/${BINNAME}.desktop AppDir/ mkdir -p AppDir/usr/share/applications && cp ./AppDir/${BINNAME}.desktop ./AppDir/usr/share/applications mkdir -p AppDir/usr/share/icons && cp ./AppDir/${BINNAME}.png ./AppDir/usr/share/icons mkdir -p AppDir/usr/share/icons/hicolor/512x512/apps && cp ./AppDir/${BINNAME}.png ./AppDir/usr/share/icons/hicolor/512x512/apps -chmod a+x appimagetool ARCH=x86_64 ./appimagetool AppDir/ ${BINNAME}.AppImage