Merge pull request #678 from techge/mate-terminal
Add mate-terminal to the known-to-work terminals (fixes #676)
This commit is contained in:
commit
b09381d2a6
|
@ -62,7 +62,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# select terminal (prefer xterm for best compatibility, then known supported terminals)
|
# select terminal (prefer xterm for best compatibility, then known supported terminals)
|
||||||
for terminal in xterm gnome-terminal kitty terminator xfce4-terminal konsole terminal termite alacritty x-terminal-emulator; do
|
for terminal in xterm gnome-terminal kitty terminator xfce4-terminal konsole terminal termite alacritty mate-terminal x-terminal-emulator; do
|
||||||
if $COMMAND "$terminal" 2>/dev/null; then
|
if $COMMAND "$terminal" 2>/dev/null; then
|
||||||
# Find the true shell behind x-terminal-emulator
|
# Find the true shell behind x-terminal-emulator
|
||||||
if [ "$(basename "$(readlink -f $(which "$terminal"))")" != "x-terminal-emulator" ]; then
|
if [ "$(basename "$(readlink -f $(which "$terminal"))")" != "x-terminal-emulator" ]; then
|
||||||
|
@ -108,7 +108,7 @@ else
|
||||||
alacritty -e sh -c 'TERM=xterm ./StardewModdingAPI.bin.x86 $*'
|
alacritty -e sh -c 'TERM=xterm ./StardewModdingAPI.bin.x86 $*'
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
xterm|xfce4-terminal|gnome-terminal|terminal|termite)
|
xterm|xfce4-terminal|gnome-terminal|terminal|termite|mate-terminal)
|
||||||
$LAUNCHTERM -e "sh -c 'TERM=xterm $LAUNCHER'"
|
$LAUNCHTERM -e "sh -c 'TERM=xterm $LAUNCHER'"
|
||||||
;;
|
;;
|
||||||
konsole)
|
konsole)
|
||||||
|
|
Loading…
Reference in New Issue