fix launch issue for Linux players with some terminals (#489, #526)

This commit is contained in:
Jesse Plamondon-Willard 2018-05-23 00:35:43 -04:00
parent d9c6015163
commit b942c89dcf
2 changed files with 3 additions and 2 deletions

View File

@ -14,6 +14,7 @@
* Fixed `smapi.io/install` not linking to a useful page.
* Fixed `world_setseason` command not running season-change logic.
* Fixed mod update checks failing if a mod only has prerelease versions on GitHub.
* Fixed launch issue for Linux players with some terminals. (Thanks to HanFox and kurumushi!)
* Renamed `install.exe` to `install on Windows.exe` to avoid confusion.
* For modders:

View File

@ -74,9 +74,9 @@ else
elif $COMMAND xterm 2>/dev/null; then
xterm -e "$LAUNCHER"
elif $COMMAND xfce4-terminal 2>/dev/null; then
xfce4-terminal -e "$LAUNCHER"
xfce4-terminal -e "env TERM=xterm; $LAUNCHER"
elif $COMMAND gnome-terminal 2>/dev/null; then
gnome-terminal -e "$LAUNCHER"
gnome-terminal -e "env TERM=xterm; $LAUNCHER"
elif $COMMAND konsole 2>/dev/null; then
konsole -p Environment=TERM=xterm -e "$LAUNCHER"
elif $COMMAND terminal 2>/dev/null; then