Fixed a bug that would show games as installable when they are already installed.

This commit is contained in:
Storm Dragon 2022-03-12 23:02:33 -05:00
parent 118382bd0a
commit 6444870c66

View File

@ -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