Fixed a bug that would show games as installable when they are already installed.
This commit is contained in:
parent
118382bd0a
commit
6444870c66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user