From f20e1c8b1b8d0b43e074329ff8a42c8c7f6fca99 Mon Sep 17 00:00:00 2001 From: TSRBerry <20988865+TSRBerry@users.noreply.github.com> Date: Fri, 13 Oct 2023 15:43:06 +0200 Subject: [PATCH] Invoke Ryujinx.sh in ryujinx-wrapper (#135) * Invoke Ryujinx.sh in ryujinx-wrapper * Add execute permissions to Ryujinx.sh --- org.ryujinx.Ryujinx.yml | 1 + ryujinx-wrapper | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/org.ryujinx.Ryujinx.yml b/org.ryujinx.Ryujinx.yml index b35d3b1..46a8a2b 100644 --- a/org.ryujinx.Ryujinx.yml +++ b/org.ryujinx.Ryujinx.yml @@ -54,6 +54,7 @@ modules: exit 1; fi; cp -r --remove-destination /run/build/Ryujinx/src/Ryujinx/bin/Release/net7.0/$RUNTIME/publish/* /app/bin/ + chmod +x /app/bin/Ryujinx.sh mkdir -p /app/lib/ffmpeg ln -s /usr/lib/x86_64-linux-gnu/libX11.so.6 /app/lib/libX11.so install -Dm644 $FLATPAK_ID.appdata.xml /app/share/metainfo/$FLATPAK_ID.appdata.xml diff --git a/ryujinx-wrapper b/ryujinx-wrapper index 202d6af..a304652 100644 --- a/ryujinx-wrapper +++ b/ryujinx-wrapper @@ -4,4 +4,4 @@ for i in {0..9}; do test -S $XDG_RUNTIME_DIR/discord-ipc-$i || ln -sf {app/com.discordapp.Discord,$XDG_RUNTIME_DIR}/discord-ipc-$i; done -env DOTNET_EnableAlternateStackCheck=1 Ryujinx "$@" +Ryujinx.sh "$@"