Since there will always be something in the launch menu, remove the empty check.
This commit is contained in:
parent
99d928f335
commit
58d541b42d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user