From 891eb825d99d7f458fd42a27021f837254b5a976 Mon Sep 17 00:00:00 2001 From: DioEgizio <83089242+DioEgizio@users.noreply.github.com> Date: Fri, 12 Dec 2025 14:48:26 +0100 Subject: [PATCH] fix: bundle cmark in portable build fixes portable not working outside ubuntu Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com> --- .github/actions/package/linux/action.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/package/linux/action.yml b/.github/actions/package/linux/action.yml index 2df591579..0994cae32 100644 --- a/.github/actions/package/linux/action.yml +++ b/.github/actions/package/linux/action.yml @@ -89,6 +89,10 @@ runs: cmake --install ${{ env.BUILD_DIR }} --config ${{ inputs.build-type }} --prefix ${{ env.INSTALL_PORTABLE_DIR }} cmake --install ${{ env.BUILD_DIR }} --config ${{ inputs.build-type }} --prefix ${{ env.INSTALL_PORTABLE_DIR }} --component portable + #the linked cmark .so is of the version that ubuntu uses, so without this it breaks on most updated distros + mkdir ${{ env.INSTALL_PORTABLE_DIR }}/lib + cp /lib/$APPIMAGE_ARCH-linux-gnu/libcmark.so.0.* ${{ env.INSTALL_PORTABLE_DIR }}/lib + for l in $(find ${{ env.INSTALL_PORTABLE_DIR }} -type f); do l=${l#$(pwd)/}; l=${l#${{ env.INSTALL_PORTABLE_DIR }}/}; l=${l#./}; echo $l; done > ${{ env.INSTALL_PORTABLE_DIR }}/manifest.txt cd ${{ env.INSTALL_PORTABLE_DIR }} tar -czf ../PrismLauncher-portable.tar.gz *