From 1f5e1ffa80e26b100478d27897fe3bc1be77f2df Mon Sep 17 00:00:00 2001 From: Horizon Date: Fri, 5 May 2023 12:36:15 +0530 Subject: [PATCH] fix: linux launcher breaks when there are spaces in the directory path (#4795) * fix: linux launcher breaks when there are spaces in the directory path * Add quotes around $0 as well --------- Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com> --- distribution/linux/Ryujinx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/linux/Ryujinx.sh b/distribution/linux/Ryujinx.sh index ccb8d65e1..91fb467df 100644 --- a/distribution/linux/Ryujinx.sh +++ b/distribution/linux/Ryujinx.sh @@ -1,6 +1,6 @@ #!/bin/sh -SCRIPT_DIR=$(dirname $(realpath $0)) +SCRIPT_DIR=$(dirname "$(realpath "$0")") RYUJINX_BIN="Ryujinx" if [ -f "$SCRIPT_DIR/Ryujinx.Ava" ]; then