Massive update to launchers and installers. Working toward the new launcher system, things may still be broken but getting better.
This commit is contained in:
parent
b3ada38d9b
commit
34e05f47a6
@ -1,4 +1,3 @@
|
||||
check_dependencies git sox tt++
|
||||
git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-alteraeon.git | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
add_launcher "${installPath}/tintin-alteraeon/aa.tin"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "Audo-linux-x64.zip" "https://shiftbacktick.itch.io/audo"
|
||||
mkdir -p "${installPath}/Audo"
|
||||
unzip -d "${installPath}/Audo" "${cache}/Audo-linux-x64.zip"
|
||||
add_launcher "${installPath}/Audo/Audo"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "Auroboros-linux-x64.zip" "https://shiftbacktick.itch.io/auroboros"
|
||||
mkdir -p "${installPath}/Auroboros"
|
||||
unzip -d "${installPath}/Auroboros" "${cache}/Auroboros-linux-x64.zip"
|
||||
add_launcher "${installPath}/Auroboros/Auroboros"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
download "https://files.sooslandia.ru/BallBouncer/1.2.1/BallBouncer-linux-1.2.1.zip"
|
||||
unzip -d "${installPath}/" "${cache}/BallBouncer-linux-1.2.1.zip"
|
||||
chmod +x "${installPath}/BallBouncer/BallBouncer"
|
||||
add_launcher "${installPath}/BallBouncer/BallBouncer"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "Bladius-linux-x64.zip" "https://shiftbacktick.itch.io/bladius"
|
||||
mkdir -p "${installPath}/Bladius"
|
||||
unzip -d "${installPath}/Bladius" "${cache}/Bladius-linux-x64.zip"
|
||||
add_launcher "${installPath}/Bladius/Bladius"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "Chimera-linux-x64.zip" "https://shiftbacktick.itch.io/chimera"
|
||||
mkdir -p "${installPath}/Chimera"
|
||||
unzip -d "${installPath}/Chimera" "${cache}/Chimera-linux-x64.zip"
|
||||
add_launcher "${installPath}/Chimera/Chimera"
|
||||
|
@ -4,4 +4,3 @@ mkdir -p "${installPath}/critter-sanctuary"
|
||||
unzip -d "${installPath}/critter-sanctuary" "${cache}/critter-sanctuary-linux.zip"
|
||||
mkdir -p "${XDG_DATA_HOME:-${HOME}/.local}/share/godot/app_userdata/OverworldMovementEngine"
|
||||
cp -v "${installPath}/critter-sanctuary/blind_options.save" "${XDG_DATA_HOME:-${HOME}/.local}/share/godot/app_userdata/OverworldMovementEngine/options.save"
|
||||
add_launcher "${installPath}/critter-sanctuary/linux.x86_64"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
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"
|
||||
|
@ -3,4 +3,3 @@ get_installer "Echo Command.tar.xz" "https://pancakedev.itch.io/echo-command"
|
||||
mkdir -p "${installPath}/Echo-Command"
|
||||
tar xf "${cache}/Echo Command.tar.xz" -C "${installPath}/Echo-Command"
|
||||
ln -sr "${installPath}/Echo-Command/Echo Command.x86_64" "${installPath}/Echo-Command/Echo_Command.x86_64"
|
||||
add_launcher "${installPath}/Echo-Command/Echo_Command.x86_64"
|
||||
|
@ -1,4 +1,3 @@
|
||||
check_dependencies git sox tt++
|
||||
git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-empiremud.git | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
add_launcher "${installPath}/tintin-empiremud/em.tin"
|
||||
|
@ -1,4 +1,3 @@
|
||||
check_dependencies git opusdec sox tt++
|
||||
git -C "${installPath}/" clone https://git.2mb.codes/~stormdragon2976/tintin-endoftime | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
add_launcher "${installPath}/tintin-endoftime/eot.tin"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "FS2_3.0_Linux.zip" "https://drive.google.com/file/d/15Y5nxR1zl9vVNzMilpaXdCSBFhNUIDC9/view"
|
||||
unzip -d "${installPath}" "${cache}/FS2_3.0_Linux.zip"
|
||||
chmod +x "${installPath}/FS2_3.0_Linux/fs2.x86_64"
|
||||
add_launcher "${installPath}/FS2_3.0_Linux/fs2.x86_64" "-ESpeakApplication=espeak-ng"
|
||||
|
@ -56,4 +56,3 @@ cp "${installPath}/doom/zcajun/bots.cfg" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdo
|
||||
# sed -i 's/Mouse1=+attack/CTRL=+attack/' "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
|
||||
launcherPath="$(readlink -f "$0")"
|
||||
launcherPath="${launcherPath%/*}"
|
||||
add_launcher "${launcherPath}/.scripts/FreeDoom.sh"
|
||||
|
@ -1,3 +1,2 @@
|
||||
check_dependencies python-pygame:pygame python-xdg:xdg python-pyperclip:pyperclip python-requests:requests python-setproctitle:setproctitle
|
||||
git -C "${installPath}" clone --recurse-submodules https://gitlab.com/stormdragon2976/monkeyspank.git
|
||||
add_launcher "${installPath}/monkeyspank/monkeyspank"
|
||||
|
@ -1,3 +1,2 @@
|
||||
check_dependencies python-pygame:pygame python-xdg:xdg python-pyperclip:pyperclip python-requests:requests python-setproctitle:setproctitle
|
||||
git -C "${installPath}" clone --recurse-submodules https://gitlab.com/stormdragon2976/numnastics.git
|
||||
add_launcher "${installPath}/numnastics/numnastics"
|
||||
|
@ -3,4 +3,3 @@ get_installer "onslaught.AppImage" "https://lightsoutgames.itch.io/onslaught"
|
||||
mkdir -p "${installPath}/Onslaught"
|
||||
cp -v "${cache}/onslaught.AppImage" "${installPath}/Onslaught/onslaught.AppImage"
|
||||
chmod +x "${installPath}/Onslaught/onslaught.AppImage"
|
||||
add_launcher "${installPath}/Onslaught/onslaught.AppImage"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "periphery-synthetic-ep-linux-x64.zip" "https://shiftbacktick.itch.io/periphery-synthetic-ep"
|
||||
mkdir -p "${installPath}/periphery-synthetic-ep"
|
||||
unzip -d "${installPath}/periphery-synthetic-ep" "${cache}/periphery-synthetic-ep-linux-x64.zip"
|
||||
add_launcher "${installPath}/periphery-synthetic-ep/periphery-synthetic-ep"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
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"
|
||||
|
@ -56,4 +56,3 @@ for x in "${!mods[@]}" ; do
|
||||
done
|
||||
launcherPath="$(readlink -f "$0")"
|
||||
launcherPath="${launcherPath%/*}"
|
||||
add_launcher "${launcherPath}/.scripts/SlayTheSpire.sh"
|
||||
|
@ -1,4 +1,3 @@
|
||||
check_dependencies python-ansimarkup:ansimarkup
|
||||
git -C "${installPath}/" clone https://github.com/Difio3333/slaythetext.git | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
add_launcher "${installPath}/slaythetext/main.py"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "soulblaze-linux-beta.zip" "https://sword-and-quill.itch.io/soulblaze"
|
||||
mkdir -p "${installPath}/Soulblaze"
|
||||
unzip -d "${installPath}/Soulblaze" "${cache}/soulblaze-linux-beta.zip"
|
||||
add_launcher "${installPath}/Soulblaze/Soulblaze.x86_64"
|
||||
|
@ -16,4 +16,3 @@ alert
|
||||
bash "${smapiTmp}/SMAPI ${smapiVersion} installer/install on Linux.sh"
|
||||
ln -sf "${HOME}/GOG Games/Stardew Valley/game" "${installPath}/StardewValley"
|
||||
tar -xvf "${cache}/Mods.tar.xz" -C "${installPath}/StardewValley/"
|
||||
add_launcher "${installPath}/StardewValley/StardewValley"
|
||||
|
@ -1,4 +1,3 @@
|
||||
check_dependencies git sox tt++
|
||||
git -C "${installPath}/" clone --recurse-submodules https://github.com/stormdragon2976/tintin-stickmud.git | \
|
||||
dialog --progressbox "Installing \"${game}\", please wait..." -1 -1
|
||||
add_launcher "${installPath}/tintin-stickmud/stickmud.tin"
|
||||
|
@ -3,4 +3,3 @@ get_installer "system-fault-linux-x86_64.AppImage" "https://lightsoutgames.itch.
|
||||
mkdir -p "${installPath}/System_Fault"
|
||||
cp -v "${cache}/system-fault-linux-x86_64.AppImage" "${installPath}/System_Fault/system-fault-linux-x86_64.AppImage"
|
||||
chmod +x "${installPath}/System_Fault/system-fault-linux-x86_64.AppImage"
|
||||
add_launcher "${installPath}/System_Fault/system-fault-linux-x86_64.AppImage"
|
||||
|
@ -3,4 +3,3 @@ check_dependencies dmidecode
|
||||
get_installer "upheaval-linux-console.zip" "https://leonegaming.itch.io/upheaval"
|
||||
mkdir -p "${installPath}/Upheaval_Commandline"
|
||||
unzip -d "${installPath}/Upheaval_Commandline" "${cache}/upheaval-linux-console.zip"
|
||||
add_launcher "${installPath}/Upheaval_Commandline/Upheaval_Command_Line"
|
||||
|
@ -3,6 +3,5 @@ check_dependencies dmidecode
|
||||
get_installer "upheaval-linux.zip" "https://leonegaming.itch.io/upheaval"
|
||||
mkdir -p "${installPath}/Upheaval_Gui"
|
||||
unzip -d "${installPath}/Upheaval_Gui" "${cache}/upheaval-linux.zip"
|
||||
add_launcher "${installPath}/Upheaval_Gui/Upheaval"
|
||||
echo "To enable accessibility, press shift t when the game starts."
|
||||
alert
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "Wurmus-linux-x64.zip" "https://shiftbacktick.itch.io/wurmus"
|
||||
mkdir -p "${installPath}/Wurmus"
|
||||
unzip -d "${installPath}/Wurmus" "${cache}/Wurmus-linux-x64.zip"
|
||||
add_launcher "${installPath}/Wurmus/Wurmus"
|
||||
|
@ -10,4 +10,3 @@ fi
|
||||
get_installer "${pkgname}" "https://stormdragon2976.itch.io/zombowl"
|
||||
mkdir -p "${installPath}/"
|
||||
unzip -d "${installPath}/" "${cache}/${pkgname}"
|
||||
add_launcher "${installPath}/${pkgname%.*}/Zombowl"
|
||||
|
@ -2,4 +2,3 @@ check_architecture x86_64
|
||||
get_installer "soundStrider-linux-x64.zip" "https://shiftbacktick.itch.io/soundstrider"
|
||||
mkdir -p "${installPath}/soundStrider"
|
||||
unzip -d "${installPath}/soundStrider" "${cache}/soundStrider-linux-x64.zip"
|
||||
add_launcher "${installPath}/soundStrider/soundStrider"
|
||||
|
2
.launch/Audo.game
Normal file
2
.launch/Audo.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
${installPath}/Audo/Audo
|
2
.launch/Auroboros.game
Normal file
2
.launch/Auroboros.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Auroboros/Auroboros"
|
@ -1 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/BallBouncer/BallBouncer"
|
||||
|
2
.launch/Bladius.game
Normal file
2
.launch/Bladius.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Bladius/Bladius"
|
2
.launch/Chimera.game
Normal file
2
.launch/Chimera.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Chimera/Chimera"
|
2
.launch/Critter Sanctuary.game
Normal file
2
.launch/Critter Sanctuary.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/critter-sanctuary/linux.x86_64"
|
2
.launch/E.X.O..game
Normal file
2
.launch/E.X.O..game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/E.X.O./EXO"
|
2
.launch/Echo Command.game
Normal file
2
.launch/Echo Command.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Echo-Command/Echo_Command.x86_64"
|
9
.launch/EmpireMUD.game
Normal file
9
.launch/EmpireMUD.game
Normal file
@ -0,0 +1,9 @@
|
||||
mudPath="${installPath}/tintin-empiremud/em.tin"
|
||||
pushd "${mudPath%/*}"
|
||||
git pull | \
|
||||
dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
if [[ -n "${COLORTERM}" ]]; then
|
||||
terminal_emulator tt++ ${mudPath##*/}
|
||||
else
|
||||
tt++ ${mudPath##*/}
|
||||
fi
|
2
.launch/Fantasy Story II.game
Normal file
2
.launch/Fantasy Story II.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/FS2_3.0_Linux/fs2.x86_64" "-ESpeakApplication=espeak-ng"
|
2
.launch/Monkey Spank.game
Normal file
2
.launch/Monkey Spank.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/monkeyspank/monkeyspank"
|
2
.launch/Numnastics.game
Normal file
2
.launch/Numnastics.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/numnastics/numnastics"
|
2
.launch/Onslaught.game
Normal file
2
.launch/Onslaught.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Onslaught/onslaught.AppImage"
|
2
.launch/Periphery Synthetic EP.game
Normal file
2
.launch/Periphery Synthetic EP.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/periphery-synthetic-ep/periphery-synthetic-ep"
|
2
.launch/S.E.A..game
Normal file
2
.launch/S.E.A..game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/S.E.A./SEA"
|
2
.launch/Slay the Spire.game
Normal file
2
.launch/Slay the Spire.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${launcherPath}/.scripts/SlayTheSpire.sh"
|
2
.launch/Slay the Text.game
Normal file
2
.launch/Slay the Text.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/slaythetext/main.py"
|
2
.launch/Soulblaze.game
Normal file
2
.launch/Soulblaze.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Soulblaze/Soulblaze.x86_64"
|
0
.launch/SoundRTS.game
Normal file
0
.launch/SoundRTS.game
Normal file
2
.launch/Stardew Valley.game
Normal file
2
.launch/Stardew Valley.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/StardewValley/StardewValley"
|
@ -1,3 +1,4 @@
|
||||
pushd "${installPath}"
|
||||
mudPath="${installPath}/tintin-stickmud/stickmud.tin"
|
||||
pushd "${mudPath%/*}"
|
||||
git pull | \
|
||||
|
2
.launch/System Fault.game
Normal file
2
.launch/System Fault.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/System_Fault/system-fault-linux-x86_64.AppImage"
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check for required wad.
|
||||
source ${0%/*}/TobyCustom/.dependencies
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies
|
||||
check_dependencies "${gamePath}/aoddoom1.wad" "https://www.moddb.com/mods/army-of-darkness-total-conversion/addons/army-of-darkness-doom-wad" "Place \"aoddoom1.wad\" in \"${gamePath}\"."
|
||||
|
||||
|
||||
@ -20,4 +20,4 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
||||
gameOption+=("${gamePath}/DoomMetalVol6.wad")
|
||||
fi
|
||||
|
||||
source ${0%/*}/TobyCustom/.mapmenu
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check for required pk3.
|
||||
source ${0%/*}/TobyCustom/.dependencies
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies
|
||||
check_dependencies "${gamePath}/GMOTA_V.1.5.2.pk3" \
|
||||
"https://combine-kegan.itch.io/gmota" \
|
||||
"Place the file in ${gamePath}"
|
||||
@ -15,7 +15,7 @@ gameOption=(
|
||||
)
|
||||
|
||||
|
||||
source ${0%/*}/TobyCustom/.mapmenu
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu
|
||||
flags=(
|
||||
# Key bindings
|
||||
'+bind Alt +altattack'
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check for required pk3.
|
||||
source ${0%/*}/TobyCustom/.dependencies
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies
|
||||
check_dependencies "${gamePath}/Project_Brutality.pk3" \
|
||||
"https://www.moddb.com/mods/project-brutality" \
|
||||
"This should be included by default." \
|
||||
@ -24,7 +24,7 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
||||
gameOption+=("${gamePath}/DoomMetalVol6.wad")
|
||||
fi
|
||||
|
||||
source ${0%/*}/TobyCustom/.mapmenu
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu
|
||||
flags=(
|
||||
# Key bindings
|
||||
'+bind Alt +altattack'
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check for required pk3.
|
||||
source ${0%/*}/TobyCustom/.dependencies
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies
|
||||
check_dependencies "${gamePath}/Project_Brutality-Latest.pk3" \
|
||||
"https://www.moddb.com/mods/project-brutality" \
|
||||
"This should be included by default." \
|
||||
@ -23,7 +23,7 @@ elif [[ -e "${gamePath}/DoomMetalVol6.wad" ]]; then
|
||||
gameOption+=("${gamePath}/DoomMetalVol6.wad")
|
||||
fi
|
||||
|
||||
source ${0%/*}/TobyCustom/.mapmenu
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu
|
||||
flags=(
|
||||
# Key bindings
|
||||
'+bind Alt +altattack'
|
||||
|
@ -10,4 +10,4 @@ gameOption=(
|
||||
"$gamePath/Addons/STARWARS/"*
|
||||
)
|
||||
|
||||
source ${0%/*}/TobyCustom/.mapmenu
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.mapmenu
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# check for required pk3.
|
||||
source ${0%/*}/TobyCustom/.dependencies
|
||||
source ${BASH_SOURCE[0]%/*}/TobyCustom/.dependencies
|
||||
check_dependencies "${gamePath}/Addons/WOLFENDOOM/orig_enh.pk3" \
|
||||
"https://www.moddb.com/mods/wolfendoom/downloads/wolfendoom-enhanced" \
|
||||
"mkdir -p ${gamePath}/Addons/WOLFENDOOM/" \
|
||||
|
2
.launch/Upheaval Commandline.game
Normal file
2
.launch/Upheaval Commandline.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Upheaval_Commandline/Upheaval_Command_Line"
|
2
.launch/Upheaval Gui.game
Normal file
2
.launch/Upheaval Gui.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Upheaval_Gui/Upheaval"
|
2
.launch/Wurmus.game
Normal file
2
.launch/Wurmus.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/Wurmus/Wurmus"
|
2
.launch/Zombowl.game
Normal file
2
.launch/Zombowl.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/${pkgname%.*}/Zombowl"
|
2
.launch/soundStrider.game
Normal file
2
.launch/soundStrider.game
Normal file
@ -0,0 +1,2 @@
|
||||
pushd "${installPath}"
|
||||
"${installPath}/soundStrider/soundStrider"
|
@ -496,7 +496,7 @@ game_launcher() {
|
||||
if [[ -d ".launch" ]]; then
|
||||
find -L "${0%/*}/.launch" -maxdepth 1 -type f -iname "*.sh" -exec bash -c '
|
||||
for f; do
|
||||
[[ $(head -n1 "$f") == "#"* ]] && continue
|
||||
[[ $(head -n1 "$f") =~ ^#$ ]] && continue
|
||||
name="${f##*/}"
|
||||
echo "${name%.sh}|$f"
|
||||
done
|
||||
@ -530,21 +530,6 @@ game_launcher() {
|
||||
# Remove any trailing | from selectedGame variable
|
||||
selectedGame="${selectedGame%|}"
|
||||
case "${selectedGame}" in
|
||||
*".tin")
|
||||
git -C "${selectedGame%/*}" pull | \
|
||||
dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
if [[ -n "${COLORTERM}" ]]; then
|
||||
terminal_emulator tt++ ${selectedGame##*/}
|
||||
else
|
||||
pushd "${selectedGame%/*}"
|
||||
exec tt++ ${selectedGame##*/}
|
||||
fi
|
||||
;;
|
||||
*"main.py")
|
||||
pushd "${selectedGame%/*}"
|
||||
git pull -q | dialog --progressbox "Checking for updates, please wait..." -1 -1
|
||||
python3 ${selectedGame}
|
||||
;;
|
||||
*.sh)
|
||||
. "${selectedGame}"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user