Changes

m
Reverted edits by Margotbean (talk) to last revision by Pathoschild
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:
<pre>
+
<source lang="bash">
 
if [ $? -eq 127 ]; then
 
if [ $? -eq 127 ]; then
 
   $LAUNCHER --no-terminal
 
   $LAUNCHER --no-terminal
 
fi
 
fi
</pre>
+
</source>
 
And change it to this:
 
And change it to this:
<pre>
+
<source lang="bash">
 
$LAUNCHER --no-terminal
 
$LAUNCHER --no-terminal
</pre></li>
+
</source></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:
<pre>open -a Terminal ./StardewModdingAPI.bin.osx $@</pre>
+
<source lang="bash">open -a Terminal ./StardewModdingAPI.bin.osx $@</source>
 
And change it to this:
 
And change it to this:
<pre>./StardewModdingAPI.bin.osx $@ 2>&1 > /dev/null</pre>
+
<source lang="bash">./StardewModdingAPI.bin.osx $@ 2>&1 > /dev/null</source>
 
</li>
 
</li>
 
</ol>
 
</ol>
106,874

edits