Since there will always be something in the launch menu, remove the empty check.

This commit is contained in:
Storm Dragon 2022-03-14 12:01:10 -04:00
parent 99d928f335
commit 58d541b42d

View File

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