mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-24 05:22:07 +00:00
Ryujinx.Headless.SDL3 no longer exists. Only Ryujinx is ever launched. If the Ryujinx executable doesn't exist, the shell will state that and error out with a code anyway. The check isn't needed and omitting it provides more information if something goes wrong. If possible, we could remove this shell script entirely. Most users who use Feral GameMode will know to turn it on anyway, and the user should be in control instead of having it forced. The bug with LANG=C.UTF-8 seems fixable (I haven't encountered it, fontconfig related?) and I can find no mention of what EnableAlternateStackCheck even does.
11 lines
253 B
Bash
Executable file
11 lines
253 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
SCRIPT_DIR=$(dirname "$(realpath "$0")")
|
|
|
|
COMMAND="env LANG=C.UTF-8 DOTNET_EnableAlternateStackCheck=1"
|
|
|
|
if command -v gamemoderun > /dev/null 2>&1; then
|
|
COMMAND="$COMMAND gamemoderun"
|
|
fi
|
|
|
|
exec $COMMAND "$SCRIPT_DIR/Ryujinx" "$@"
|