diff --git a/.github/linux-appimage-qt.sh b/.github/linux-appimage-qt.sh index 39a0be0eb..150e0db2b 100755 --- a/.github/linux-appimage-qt.sh +++ b/.github/linux-appimage-qt.sh @@ -26,6 +26,7 @@ chmod a+x linuxdeploy-plugin-checkrt-x86_64.sh ./linuxdeploy-plugin-checkrt-x86_64.sh --appdir AppDir # Bundle libc and all dependencies +echo AppDir/usr/bin/shadps4 ldd AppDir/usr/bin/shadps4 | awk -F"[> ]" '{print $4}' \ | xargs -I {} cp -vf {} AppDir/usr/lib cp -v /lib64/ld-linux-x86-64.so.2 AppDir diff --git a/.github/linux-appimage-sdl.sh b/.github/linux-appimage-sdl.sh index 7961f5312..e7a36974a 100755 --- a/.github/linux-appimage-sdl.sh +++ b/.github/linux-appimage-sdl.sh @@ -17,5 +17,13 @@ chmod a+x linuxdeploy-plugin-checkrt-x86_64.sh # Build AppImage ./linuxdeploy-x86_64.AppImage --appdir AppDir ./linuxdeploy-plugin-checkrt-x86_64.sh --appdir AppDir + +# Bundle libc and all dependencies +echo AppDir/usr/bin/shadps4 +ldd AppDir/usr/bin/shadps4 | awk -F"[> ]" '{print $4}' \ + | xargs -I {} cp -vf {} AppDir/usr/lib +cp -v /lib64/ld-linux-x86-64.so.2 AppDir +rm -f AppDir/usr/lib/ld-linux-x86-64.so.2 2>/dev/null || true + ./linuxdeploy-x86_64.AppImage --appdir AppDir -d "$GITHUB_WORKSPACE"/dist/net.shadps4.shadPS4.desktop -e "$GITHUB_WORKSPACE"/build/shadps4 -i "$GITHUB_WORKSPACE"/src/images/net.shadps4.shadPS4.svg --output appimage mv shadPS4-x86_64.AppImage Shadps4-sdl.AppImage