aboutsummaryrefslogtreecommitdiff
path: root/distribution/linux
diff options
context:
space:
mode:
authorHorizon <omkar@anthaathi.co>2023-05-05 12:36:15 +0530
committerGitHub <noreply@github.com>2023-05-05 09:06:15 +0200
commit1f5e1ffa80e26b100478d27897fe3bc1be77f2df (patch)
treedca4f3afe64120e6f06aab3e99ad000eece8c2e7 /distribution/linux
parent264438ff19898bcb8f8fc16dc9243bf9f4eba072 (diff)
fix: linux launcher breaks when there are spaces in the directory path (#4795)1.1.752
* 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>
Diffstat (limited to 'distribution/linux')
-rw-r--r--distribution/linux/Ryujinx.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/distribution/linux/Ryujinx.sh b/distribution/linux/Ryujinx.sh
index ccb8d65e..91fb467d 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