From a01f34dd02f8c2acb089fecdab33208867894229 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 23 Dec 2024 20:58:54 -0500 Subject: [PATCH] One more removal fix. --- linux-game-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 2a8af50..60f1d0c 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -449,9 +449,9 @@ game_removal() { else # Found install path, can remove game files dialog --backtitle "Linux Game Manager" \ - --yesno "This will remove the directory \"${installPath}/${gameInstallPath}\" and all of its contents. Do you want to continue?" -1 -1 || exit 0 + --yesno "This will remove the directory \"${gameInstallPath}\" and all of its contents. Do you want to continue?" -1 -1 || exit 0 # Remove the game directory and symlink - { rm -rfv "${installPath}/${gameInstallPath}" + { rm -rfv "${gameInstallPath}" rm -fv "${0%/*}/.launch/${gameName}.sh"; } | dialog --backtitle "Linux Game Manager" \ --progressbox "Removing game..." -1 -1