Remove old doom launcher handling code for speech.

This commit is contained in:
Storm Dragon 2023-11-12 18:26:01 -05:00
parent 28dac62907
commit d2f6650987

View File

@ -430,21 +430,6 @@ game_launcher() {
exec tt++ ${game##*/}
fi
;;
*doom*)
exec stdbuf -oL ${game} | stdbuf -oL grep -E \
-e '^[0-9]+\. ' \
-e '^"cl_run"' \
-e '^Game saved. ' \
-e '^A secret is revealed!$' \
-e '^MAP[0-9]*' \
-e '^Player was ' \
-e '^Please select a game wad \(or 0 to exit\):' \
-e '^You have no keys in your pocket!$' | stdbuf -oL sed \
-e 's/"cl_run" = "true"/run/' \
-e 's/"cl_run" = "false"/walk/' \
-e 's/MAP0\([1-9]\)/Map \1/' \
-e 's:.*/:Game saved. (:' | spd-say -e
;;
*"main.py")
pushd "${game%/*}"
git pull -q | dialog --progressbox "Checking for updates, please wait..." -1 -1