Modified the launcher a bit to cut down on redundant code.
This commit is contained in:
parent
95a568f0e1
commit
d197960731
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user