diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-05-30 19:06:23 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 18:01:51 -0400 |
commit | a5146daaab2ea6c4a09f68b75eb92d65a1158d4a (patch) | |
tree | f8cd88f0b51c83177d5cdaea703d693b89b0059c | |
parent | 1b3a6a514f2812c2cd386ef787821f5418045014 (diff) | |
download | SMAPI-a5146daaab2ea6c4a09f68b75eb92d65a1158d4a.tar.gz SMAPI-a5146daaab2ea6c4a09f68b75eb92d65a1158d4a.tar.bz2 SMAPI-a5146daaab2ea6c4a09f68b75eb92d65a1158d4a.zip |
use known working terminal before trying x-terminal-emulator (#640)
-rw-r--r-- | src/SMAPI.Installer/unix-launcher.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Installer/unix-launcher.sh b/src/SMAPI.Installer/unix-launcher.sh index 71ed103d..f81828f0 100644 --- a/src/SMAPI.Installer/unix-launcher.sh +++ b/src/SMAPI.Installer/unix-launcher.sh @@ -62,7 +62,7 @@ else fi # select terminal (prefer $TERMINAL for overrides and testing, then xterm for best compatibility, then known supported terminals) - for terminal in "$TERMINAL" xterm x-terminal-emulator kitty terminator xfce4-terminal gnome-terminal konsole terminal termite; do + for terminal in "$TERMINAL" xterm gnome-terminal kitty terminator xfce4-terminal konsole terminal termite 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 |