From 6444870c66dbf26e53d7dee0c5882cc956cbff8e Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sat, 12 Mar 2022 23:02:33 -0500 Subject: [PATCH] Fixed a bug that would show games as installable when they are already installed. --- linux-game-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index e57f847..0359ec0 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -179,7 +179,7 @@ add_launcher() { # Install games game_installer() { - mapfile -t installedGames < <(sed '/^$/d' "${configFile}" 2> /dev/null | cut -d '|' -f3) + mapfile -t installedGames < <(sed '/^$/d' "${configFile}" 2> /dev/null | cut -d '|' -f1) # Create the menu of installed games declare -a menuList for i in "${gameList[@]}" ; do