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