diff options
author | Horizon <omkar@anthaathi.co> | 2023-05-05 12:36:15 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 09:06:15 +0200 |
commit | 1f5e1ffa80e26b100478d27897fe3bc1be77f2df (patch) | |
tree | dca4f3afe64120e6f06aab3e99ad000eece8c2e7 | |
parent | 264438ff19898bcb8f8fc16dc9243bf9f4eba072 (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>
-rw-r--r-- | distribution/linux/Ryujinx.sh | 2 |
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 |