From 06410bf6a003b070e55559da2eb5c086522ce312 Mon Sep 17 00:00:00 2001 From: Zoull Date: Fri, 2 Jun 2023 17:11:14 -0600 Subject: [PATCH] Fix an issue with Rockstar Games Launcher never being able to be moved to the SD Card --- NonSteamLaunchers.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index f224628..bff9d0b 100644 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -982,6 +982,15 @@ if [[ $options == "Move to SD Card" ]]; then ln -s "$new_dir/IndieGalaLauncher" "$original_dir" fi + # Check if RockstarGamesLauncher is installed + if [[ -d "$HOME/.local/share/Steam/steamapps/compatdata/RockstarGamesLauncher" ]]; then + # RockstarGamesLauncher is installed + original_dir="$HOME/.local/share/Steam/steamapps/compatdata/RockstarGamesLauncher" + else + # Rockstar Games Launcher is not installed + original_dir="" + fi + # Check if the user selected to move RockstarGamesLauncher if [[ $move_options == *"RockstarGamesLauncher"* ]] && [[ -n $original_dir ]]; then # Move the Rockstar Games Launcher directory to the SD card