Changes

Jump to navigation Jump to search
attempting to fix syntax highlight error
Line 71: Line 71:  
#* Windows: [https://inputmapper.com/ InputMapper].
 
#* Windows: [https://inputmapper.com/ InputMapper].
   −
{{collapse|last resort on Linux/Mac|content= 
+
{{collapse|Last resort on Linux/Mac|content= 
 
As a last resort on Linux or Mac, you can disable the SMAPI console window to fix this. You won't see update/error alerts unless you [https://log.smapi.io/ check the log], and your game won't launch after a crash until you delete the <tt>smapi-internal/StardewModdingAPI.crash.marker</tt> file. You should periodically check the log to make sure everything is working correctly. If you really want to do this:
 
As a last resort on Linux or Mac, you can disable the SMAPI console window to fix this. You won't see update/error alerts unless you [https://log.smapi.io/ check the log], and your game won't launch after a crash until you delete the <tt>smapi-internal/StardewModdingAPI.crash.marker</tt> file. You should periodically check the log to make sure everything is working correctly. If you really want to do this:
   Line 81: Line 81:  
<li>Remove the entire section under <tt># open SMAPI in terminal</tt> (up to the next <code>fi</code> line).</li>
 
<li>Remove the entire section under <tt># open SMAPI in terminal</tt> (up to the next <code>fi</code> line).</li>
 
<li>Find this text at the bottom:
 
<li>Find this text at the bottom:
<source lang="AppleScript">
+
<pre>
 
if [ $? -eq 127 ]; then
 
if [ $? -eq 127 ]; then
 
   $LAUNCHER --no-terminal
 
   $LAUNCHER --no-terminal
 
fi
 
fi
</source>
+
</pre>
 
And change it to this:
 
And change it to this:
<source lang="AppleScript">
+
<pre>
 
$LAUNCHER --no-terminal
 
$LAUNCHER --no-terminal
</source></li>
+
</pre></li>
 
</ol>
 
</ol>
 
</li>
 
</li>
Line 97: Line 97:  
<li>Open the <tt>StardewValley</tt> file (the one with no file extension) in a text editor.</li>
 
<li>Open the <tt>StardewValley</tt> file (the one with no file extension) in a text editor.</li>
 
<li>Find this text:
 
<li>Find this text:
<source lang="AppleScript">open -a Terminal ./StardewModdingAPI.bin.osx $@</source>
+
<pre>open -a Terminal ./StardewModdingAPI.bin.osx $@</pre>
 
And change it to this:
 
And change it to this:
<source lang="AppleScript">./StardewModdingAPI.bin.osx $@ 2>&1 > /dev/null</source>
+
<pre>./StardewModdingAPI.bin.osx $@ 2>&1 > /dev/null</pre>
 
</li>
 
</li>
 
</ol>
 
</ol>
106,760

edits

Navigation menu