From 0116a87e2ff0d74b150dd53be569c4298ef91d3e Mon Sep 17 00:00:00 2001 From: Roy <88516395+moraroy@users.noreply.github.com> Date: Fri, 2 Aug 2024 20:34:01 -0700 Subject: [PATCH] fixed small GOG typo to allow uninstall --- NonSteamLaunchers.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/NonSteamLaunchers.sh b/NonSteamLaunchers.sh index a78be74..7015462 100755 --- a/NonSteamLaunchers.sh +++ b/NonSteamLaunchers.sh @@ -797,8 +797,8 @@ fi if [[ $uninstall_options == *"Uninstall GOG Galaxy"* ]]; then if [[ -d "${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/pfx/drive_c/Program Files (x86)/GOG Galaxy" ]]; then handle_uninstall_gog "NonSteamLaunchers" - elif [[ -d "${logged_in_home}/.local/share/Steam/steamapps/compatdata/TheGOGGalaxyLauncher/pfx/drive_c/Program Files (x86)/GOG Galaxy" ]]; then - handle_uninstall_gog "TheGOGGalaxyLauncher" + elif [[ -d "${logged_in_home}/.local/share/Steam/steamapps/compatdata/GogGalaxyLauncher/pfx/drive_c/Program Files (x86)/GOG Galaxy" ]]; then + handle_uninstall_gog "GogGalaxyLauncher" fi fi @@ -852,15 +852,15 @@ process_uninstall_options() { if [[ -n $uninstall_options ]]; then # Call uninstall_launcher for each launcher # Add more launchers as needed - if [[ $uninstall_options == *"Uninstall Gog Galaxy"* ]]; then + if [[ $uninstall_options == *"Uninstall GOG Galaxy"* ]]; then if [[ -d "${logged_in_home}/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/pfx/drive_c/Program Files (x86)/GOG Galaxy" ]]; then handle_uninstall_gog "NonSteamLaunchers" wait - uninstall_launcher "$uninstall_options" "Gog Galaxy" "$gog_galaxy_path1" "$gog_galaxy_path2" "" "" "gog" + uninstall_launcher "$uninstall_options" "GOG Galaxy" "$gog_galaxy_path1" "$gog_galaxy_path2" "" "" "gog" elif [[ -d "${logged_in_home}/.local/share/Steam/steamapps/compatdata/GogGalaxyLauncher/pfx/drive_c/Program Files (x86)/GOG Galaxy" ]]; then handle_uninstall_gog "GogGalaxyLauncher" wait - uninstall_launcher "$uninstall_options" "Gog Galaxy" "$gog_galaxy_path1" "$gog_galaxy_path2" "" "" "gog" + uninstall_launcher "$uninstall_options" "GOG Galaxy" "$gog_galaxy_path1" "$gog_galaxy_path2" "" "" "gog" fi fi if [[ $uninstall_options == *"Uninstall EA App"* ]]; then