Added game Monkey Spank.

This commit is contained in:
Storm Dragon 2022-03-13 14:39:06 -04:00
parent 2352ad132d
commit 7c3201a12c
2 changed files with 70 additions and 65 deletions

View File

@ -1,4 +1,4 @@
Linux Game manager
## Linux Game manager
Installer and launcher for accessible to the blind games that run natively in Linux.

View File

@ -282,6 +282,7 @@ gameList=(
"Aliens"
"E.X.O."
"Fantasy Story II"
"Monkey Spank"
"Numnastics"
"S.E.A."
"soundStrider"
@ -323,13 +324,13 @@ args="${!command[*]}"
args="${args//[[:space:]]/}"
while getopts "${args}" i ; do
case "$i" in
C) clear_cache;;
D) desktop_launcher;;
h) help;;
i) game_installer;;
L) license;;
N) noCache="true";;
R) redownload="true";;
C) clear_cache ;;
D) desktop_launcher ;;
h) help ;;
i) game_installer ;;
L) license ;;
N) noCache="true" ;;
R) redownload="true" ;;
t)
dialog --backtitle "Linux Game Manager" \
--infobox "There are currently ${#gameList[@]} games available." -1 -1
@ -357,6 +358,10 @@ case "${game}" in
chmod +x "${installPath}/FS2_2.6_Linux/FS2.x86_64"
add_launcher "${installPath}/FS2_2.6_Linux/FS2.x86_64" "-ESpeakApplication=espeak-ng"
;;
"Monkey Spank")
git -C "${installPath}" clone --recurse-submodules https://gitlab.com/stormdragon2976/monkeyspank.git
add_launcher "${installPath}/monkeyspank/monkeyspank"
;;
"Numnastics")
git -C "${installPath}" clone --recurse-submodules https://gitlab.com/stormdragon2976/numnastics.git
add_launcher "${installPath}/numnastics/numnastics"