diff --git a/linux-game-manager.sh b/linux-game-manager.sh index 2b82fa5..a6b2be4 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -247,23 +247,22 @@ game_launcher() { case "${game}" in "Aliens") open_url "https://files.jantrid.net/aliens/" - exit 0 ;; "QuentinC Play Room") open_url "https://qcsalon.net/" - exit 0 ;; "Trigaea") open_url "https://ryngm.itch.io/trigaea" - exit 0 ;; "Donate") open_url "https://ko-fi.com/stormux" - exit 0 + ;; + *) + pushd "${game%/*}" + exec ${game%|} ;; esac - pushd "${game%/*}" - exec ${game%|} + exit 0 }