diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-12-14 22:16:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-14 22:16:55 -0500 |
commit | b09381d2a69e3305366ef4c3ebeaf1724fa92255 (patch) | |
tree | 3f3a060442a0f173285d3e112b6238fb2738be63 /src/SMAPI.Installer | |
parent | 5ea5932661316e2504833951188eae4118f460f3 (diff) | |
parent | 0454d7dad91b8963bad65014df500ef8081f889c (diff) | |
download | SMAPI-b09381d2a69e3305366ef4c3ebeaf1724fa92255.tar.gz SMAPI-b09381d2a69e3305366ef4c3ebeaf1724fa92255.tar.bz2 SMAPI-b09381d2a69e3305366ef4c3ebeaf1724fa92255.zip |
Merge pull request #678 from techge/mate-terminal
Add mate-terminal to the known-to-work terminals (fixes #676)
Diffstat (limited to 'src/SMAPI.Installer')
-rw-r--r-- | src/SMAPI.Installer/unix-launcher.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI.Installer/unix-launcher.sh b/src/SMAPI.Installer/unix-launcher.sh index 1422d888..b72eed22 100644 --- a/src/SMAPI.Installer/unix-launcher.sh +++ b/src/SMAPI.Installer/unix-launcher.sh @@ -62,7 +62,7 @@ else fi # 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 # Find the true shell behind x-terminal-emulator if [ "$(basename "$(readlink -f $(which "$terminal"))")" != "x-terminal-emulator" ]; then @@ -108,7 +108,7 @@ else alacritty -e sh -c 'TERM=xterm ./StardewModdingAPI.bin.x86 $*' fi ;; - xterm|xfce4-terminal|gnome-terminal|terminal|termite) + xterm|xfce4-terminal|gnome-terminal|terminal|termite|mate-terminal) $LAUNCHTERM -e "sh -c 'TERM=xterm $LAUNCHER'" ;; konsole) |