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
|
case "${game}" in
|
||||||
"Aliens")
|
"Aliens")
|
||||||
open_url "https://files.jantrid.net/aliens/"
|
open_url "https://files.jantrid.net/aliens/"
|
||||||
exit 0
|
|
||||||
;;
|
;;
|
||||||
"QuentinC Play Room")
|
"QuentinC Play Room")
|
||||||
open_url "https://qcsalon.net/"
|
open_url "https://qcsalon.net/"
|
||||||
exit 0
|
|
||||||
;;
|
;;
|
||||||
"Trigaea")
|
"Trigaea")
|
||||||
open_url "https://ryngm.itch.io/trigaea"
|
open_url "https://ryngm.itch.io/trigaea"
|
||||||
exit 0
|
|
||||||
;;
|
;;
|
||||||
"Donate")
|
"Donate")
|
||||||
open_url "https://ko-fi.com/stormux"
|
open_url "https://ko-fi.com/stormux"
|
||||||
exit 0
|
|
||||||
;;
|
;;
|
||||||
esac
|
*)
|
||||||
pushd "${game%/*}"
|
pushd "${game%/*}"
|
||||||
exec ${game%|}
|
exec ${game%|}
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user