Clipboard-translator will now start on launch of Bokurano Daibouken 1 and 2.

This commit is contained in:
Storm Dragon
2022-10-04 23:47:23 -04:00
parent 3332cb8d39
commit f25d5d4b90
2 changed files with 15 additions and 1 deletions

View File

@ -775,6 +775,9 @@ game_launcher() {
if [[ "$game" =~ laser-breakout ]]; then
pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &
fi
if [[ "$game" =~ ^bokurano-daibouken\||bokurano-daibouken-2\| ]]; then
"${0%/*}/speech/clipboard_translator.sh" play.exe &
fi
if [[ "$game" =~ bokurano-daibouken-3 ]]; then
pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &
dictPath="$(winepath "${winePath}")"