ES-DE: fixed libman integration

This commit is contained in:
XargonWan 2025-01-06 09:57:49 +09:00
parent 69d36eaaf7
commit ee3ee8271e

View file

@ -688,13 +688,14 @@ modules:
build-commands:
# Step 1: Remove any existing manifest.json file
- rm -f "files/manifest.json"
# Step 2: Extract the AppImage
- chmod +x ./*.AppImage
- ./*.AppImage --appimage-extract
# Step 3: Use libman.sh to manage libraries
- /app/bin/libman.sh "squashfs-root/usr/lib"
# Step 4: Copy remaining extracted files to the Flatpak destination
- cp -r squashfs-root/usr/* "${FLATPAK_DEST}"
# Step 2: Use libman.sh to manage libraries
- /app/bin/libman.sh "files/lib"
# Step 3: Clean up source library folder
- rm -rf "files/lib"
# Step 4: Ensure binaries are executable
- chmod +x "files/bin/"*
# Step 5: Copy all remaining files to the Flatpak destination
- cp -r files/* "${FLATPAK_DEST}"
sources:
- type: archive
url: https://github.com/RetroDECK/ES-DE/releases/latest/download/RetroDECK-ES-DE-Artifact.tar.gz