Fixed another problem with doom launchers. Added audible alert for get_installer function with the message manual intervention required.
This commit is contained in:
parent
e9171a7ea9
commit
ddc7fdcf3c
@ -221,6 +221,8 @@ get_installer() {
|
||||
if echo "$2" | xclip -selection clipboard 2> /dev/null ; then
|
||||
message+="\n\nThe URL has been copied to the clipboard."
|
||||
fi
|
||||
echo "Manual intervention required..."
|
||||
alert
|
||||
dialog --ok-label "Continue" \
|
||||
--backtitle "Linux Game Manager" \
|
||||
--msgbox "$message" -1 -1
|
||||
@ -663,13 +665,13 @@ case "${game}" in
|
||||
sed -i "s;^\[IWADSearch.Directories\]$;[IWADSearch.Directories]\nPath=${doomPath};" "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
|
||||
sed -i 's/Mouse1=+attack/CTRL=+attack/' "${XDG_CONFIG_HOME:-$HOME/.config}/gzdoom/gzdoom.ini"
|
||||
# Unmodified Doom with accessibility.
|
||||
add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion}.pk3"
|
||||
add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccMod_V${tobyVersion}.pk3"
|
||||
# Toby accessibility mods
|
||||
game="Freedoom Toby Mod"
|
||||
add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion}.pk3" "${doomPath}/TobyDoomLevels.wad"
|
||||
add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccMod_V${tobyVersion}.pk3" "${doomPath}/TobyDoomLevels.wad"
|
||||
# OperationMDK
|
||||
game="Freedoom OperationMDK"
|
||||
add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccModV${tobyVersion}.pk3" "${doomPath}/OpMDK.wad"
|
||||
add_launcher "$(command -v gzdoom) ${doomPath}/TobyAccMod_V${tobyVersion}.pk3" "${doomPath}/OpMDK.wad"
|
||||
;;
|
||||
"Monkey Spank")
|
||||
check_dependencies python-pygame:pygame python-xdg:xdg python-pyperclip:pyperclip python-requests:requests python-setproctitle:setproctitle
|
||||
|
Loading…
Reference in New Issue
Block a user