From 58d541b42d0fe1dc56d85b6c747717d058da6627 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 14 Mar 2022 12:01:10 -0400 Subject: [PATCH] Since there will always be something in the launch menu, remove the empty check. --- linux-game-manager.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 6173389..eb0beaf 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -221,10 +221,6 @@ game_installer() { # launch games that are installed game_launcher() { mapfile -t lines < <(sed '/^$/d' "${configFile}" 2> /dev/null) - if [[ ${#lines} -eq 0 ]]; then - echo "Install some games first." - exit 0 - fi # Create the menu of installed games declare -a menuList for i in "${lines[@]}" ; do