summaryrefslogtreecommitdiff
path: root/src/SMAPI
diff options
context:
space:
mode:
authorEnderHDMC <EnderHDMC@gmail.com>2018-01-15 23:33:43 +0200
committerGitHub <noreply@github.com>2018-01-15 23:33:43 +0200
commitb87d6da6c514c40f01396bfd8e403eb0a5f2e25c (patch)
tree77eec2c4268cbdeafa15f72db889755accc15e64 /src/SMAPI
parent0ad9fbddddbf9edfd847c507d70e10d2f8ce559b (diff)
downloadSMAPI-b87d6da6c514c40f01396bfd8e403eb0a5f2e25c.tar.gz
SMAPI-b87d6da6c514c40f01396bfd8e403eb0a5f2e25c.tar.bz2
SMAPI-b87d6da6c514c40f01396bfd8e403eb0a5f2e25c.zip
Update unix-launcher.sh
Diffstat (limited to 'src/SMAPI')
-rw-r--r--src/SMAPI/unix-launcher.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/SMAPI/unix-launcher.sh b/src/SMAPI/unix-launcher.sh
index 70f1873a..30021470 100644
--- a/src/SMAPI/unix-launcher.sh
+++ b/src/SMAPI/unix-launcher.sh
@@ -63,7 +63,11 @@ else
# open SMAPI in terminal
if $COMMAND x-terminal-emulator 2>/dev/null; then
- x-terminal-emulator -e "$LAUNCHER"
+ if [[ " $(readlink $(readlink /usr/bin/x-terminal-emulator))" == *"/terminator" ]]; then
+ terminator -e "$LAUNCHER"
+ else
+ x-terminal-emulator -e "$LAUNCHER"
+ fi
elif $COMMAND xfce4-terminal 2>/dev/null; then
xfce4-terminal -e "$LAUNCHER"
elif $COMMAND gnome-terminal 2>/dev/null; then