A couple more games added.
This commit is contained in:
parent
6444870c66
commit
e9531f4050
@ -145,7 +145,7 @@ get_installer() {
|
|||||||
--msgbox "$message" -1 -1
|
--msgbox "$message" -1 -1
|
||||||
# Search the Desktop and Downloads directories for the installation file
|
# Search the Desktop and Downloads directories for the installation file
|
||||||
for i in ~/Downloads ~/Desktop ; do
|
for i in ~/Downloads ~/Desktop ; do
|
||||||
find $i -type f -name "$1" -exec cp -v {} "${cache}/" \;
|
find $i -type f -name "$1" -exec mv -v {} "${cache}/" \;
|
||||||
done
|
done
|
||||||
# If the file is still not available abort.
|
# If the file is still not available abort.
|
||||||
if [[ ! -f "${cache}/$1" ]]; then
|
if [[ ! -f "${cache}/$1" ]]; then
|
||||||
@ -255,7 +255,9 @@ exec &> >(/usr/bin/tee -a "${cache}/linux-game-manager.log")
|
|||||||
# The list of games available for installation.
|
# The list of games available for installation.
|
||||||
# Use menu friendly names.
|
# Use menu friendly names.
|
||||||
gameList=(
|
gameList=(
|
||||||
|
"E.X.O."
|
||||||
"Fantasy Story II"
|
"Fantasy Story II"
|
||||||
|
"S.E.A."
|
||||||
"soundStrider"
|
"soundStrider"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -307,12 +309,24 @@ done
|
|||||||
installPath="${HOME}/.local/games"
|
installPath="${HOME}/.local/games"
|
||||||
mkdir -p "${installPath}"
|
mkdir -p "${installPath}"
|
||||||
case "${game}" in
|
case "${game}" in
|
||||||
|
"E.X.O.")
|
||||||
|
get_installer "EXO-linux-x64.zip" "https://shiftbacktick.itch.io/exo"
|
||||||
|
mkdir -p "${installPath}/E.X.O."
|
||||||
|
unzip -d "${installPath}/E.X.O." "${cache}/EXO-linux-x64.zip"
|
||||||
|
add_launcher "${installPath}/E.X.O./EXO"
|
||||||
|
;;
|
||||||
"Fantasy Story II")
|
"Fantasy Story II")
|
||||||
get_installer "FS2_2.6_Linux.zip" "https://drive.google.com/file/d/187OaD1HhPoty85yJafZyvfqD5_G3P04c/view?usp=sharing"
|
get_installer "FS2_2.6_Linux.zip" "https://drive.google.com/file/d/187OaD1HhPoty85yJafZyvfqD5_G3P04c/view?usp=sharing"
|
||||||
unzip -d "${installPath}" "${cache}/FS2_2.6_Linux.zip"
|
unzip -d "${installPath}" "${cache}/FS2_2.6_Linux.zip"
|
||||||
chmod +x "${installPath}/FS2_2.6_Linux/FS2.x86_64"
|
chmod +x "${installPath}/FS2_2.6_Linux/FS2.x86_64"
|
||||||
add_launcher "${installPath}/FS2_2.6_Linux/FS2.x86_64" "-ESpeakApplication=espeak-ng"
|
add_launcher "${installPath}/FS2_2.6_Linux/FS2.x86_64" "-ESpeakApplication=espeak-ng"
|
||||||
;;
|
;;
|
||||||
|
"S.E.A.")
|
||||||
|
get_installer "SEA-linux-x64.zip" "https://shiftbacktick.itch.io/sea"
|
||||||
|
mkdir -p "${installPath}/S.E.A."
|
||||||
|
unzip -d "${installPath}/S.E.A." "${cache}/SEA-linux-x64.zip"
|
||||||
|
add_launcher "${installPath}/S.E.A./SEA"
|
||||||
|
;;
|
||||||
"soundStrider")
|
"soundStrider")
|
||||||
get_installer "soundStrider-linux-x64.zip" "https://shiftbacktick.itch.io/soundstrider"
|
get_installer "soundStrider-linux-x64.zip" "https://shiftbacktick.itch.io/soundstrider"
|
||||||
mkdir -p "${installPath}/soundStrider"
|
mkdir -p "${installPath}/soundStrider"
|
||||||
|
Loading…
Reference in New Issue
Block a user