From 9bfc9cc725165edb184fbd37713fad6711895dc4 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 14 Jan 2025 10:18:44 +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 b60990b8..90606824 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 's|#!/bin/bash|#!/bin/bash\nexport LD_LIBRARY_PATH=/app/bin:$LD_LIBRARY_PATH|' "${FLATPAK_DEST}/bin/"R*x*.sh + - sed -i 's|#!/bin/sh|#!/bin/sh\nexport LD_LIBRARY_PATH=/app/lib:$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"