Modified the launcher a bit to cut down on redundant code.

This commit is contained in:
Storm Dragon 2022-03-17 18:12:18 -04:00
parent 95a568f0e1
commit d197960731

View File

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