summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2016-12-07 23:15:37 -0500
committerJesse Plamondon-Willard <github@jplamondonw.com>2016-12-07 23:15:37 -0500
commitacbd33fb027093c7ff4a0a138eb42e7518eeabf8 (patch)
tree61bccb8365d86b777b3066b1541aa4510dbc471f
parentae44f17205961116baef018bae0b8fe9196b27f0 (diff)
downloadSMAPI-acbd33fb027093c7ff4a0a138eb42e7518eeabf8.tar.gz
SMAPI-acbd33fb027093c7ff4a0a138eb42e7518eeabf8.tar.bz2
SMAPI-acbd33fb027093c7ff4a0a138eb42e7518eeabf8.zip
open a terminal for SMAPI output on Mac (#183)
-rw-r--r--release-notes.md1
-rw-r--r--src/StardewModdingAPI/unix-launcher.sh4
2 files changed, 3 insertions, 2 deletions
diff --git a/release-notes.md b/release-notes.md
index e7712011..4581779c 100644
--- a/release-notes.md
+++ b/release-notes.md
@@ -9,6 +9,7 @@ For players:
* Tweaked installer wording to avoid confusion.
* Fixed the installer not removing TrainerMod from appdata if it's already in the game mods directory.
* Fixed the installer not moving mods out of appdata if the game isn't installed on the same Windows partition.
+ * Fixed the SMAPI terminal not opening by default on Mac. Linux users are out of luck.
For developers:
* Added a searchable `list_items` command to replace the `out_items`, `out_melee`, and `out_rings` commands.
diff --git a/src/StardewModdingAPI/unix-launcher.sh b/src/StardewModdingAPI/unix-launcher.sh
index 0bfe0d5c..ce732588 100644
--- a/src/StardewModdingAPI/unix-launcher.sh
+++ b/src/StardewModdingAPI/unix-launcher.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# MonoKickstart Shell Script
# Written by Ethan "flibitijibibo" Lee
-# Modified for StardewModdingAPI by Viz
+# Modified for StardewModdingAPI by Viz and Pathoschild
# Move to script's directory
cd "`dirname "$0"`"
@@ -28,7 +28,7 @@ if [ "$UNAME" == "Darwin" ]; then
ln -sf mcs.bin.osx mcs
cp StardewValley.bin.osx StardewModdingAPI.bin.osx
- ./StardewModdingAPI.bin.osx $@
+ open -a Terminal ./StardewModdingAPI.bin.osx $@
else
if [ "$ARCH" == "x86_64" ]; then
ln -sf mcs.bin.x86_64 mcs