From b5bed5f9825e974bce38c9ec91d2ea3ae94a468f Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sat, 11 Jan 2025 11:55:04 +0900 Subject: [PATCH] Pancakes: fixed wrapper --- net.retrodeck.retrodeck.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index 0bd3165b..f9ae6daf 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -600,7 +600,7 @@ modules: - mv R*x* "${FLATPAK_DEST}/bin/" # This line inserts the command to export the LD_LIBRARY_PATH environment variable at the beginning of the specified file. # It ensures that the /app/bin directory is included in the library search path for the executable files matching the pattern R*x*.sh. - - sed -i '1 a export LD_LIBRARY_PATH=/app/bin:$LD_LIBRARY_PATH' "${FLATPAK_DEST}/bin/"R*x*.sh + - sed -i 's|#!/bin/bash|#!/bin/bash\nexport LD_LIBRARY_PATH=/app/bin:$LD_LIBRARY_PATH|' "${FLATPAK_DEST}/bin/"R*x*.sh - chmod +x "${FLATPAK_DEST}/bin/"R*x* # Step 4: Set up license directory and move license files - mkdir -p "${FLATPAK_DEST}/retrodeck/licenses"