mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 01:25:25 +00:00
15 lines
314 B
Bash
15 lines
314 B
Bash
#!/bin/sh
|
|
|
|
SCRIPT_DIR=$(dirname $(realpath $0))
|
|
RYUJINX_BIN="Ryujinx"
|
|
|
|
if [ -f "$SCRIPT_DIR/Ryujinx.Ava" ]; then
|
|
RYUJINX_BIN="Ryujinx.Ava"
|
|
fi
|
|
|
|
if [ -f "$SCRIPT_DIR/Ryujinx.Headless.SDL2" ]; then
|
|
RYUJINX_BIN="Ryujinx.Headless.SDL2"
|
|
fi
|
|
|
|
env DOTNET_EnableAlternateStackCheck=1 "$SCRIPT_DIR/$RYUJINX_BIN" "$@"
|