Changes

Jump to navigation Jump to search
m
Replace deprecated <source> tags with <syntaxhighlight> tags
Line 134: Line 134:  
<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="bash">
+
<syntaxhighlight lang="bash">
 
if [ $? -eq 127 ]; then
 
if [ $? -eq 127 ]; then
 
   $LAUNCHER --no-terminal
 
   $LAUNCHER --no-terminal
 
fi
 
fi
</source>
+
</syntaxhighlight>
 
And change it to this:
 
And change it to this:
<source lang="bash">
+
<syntaxhighlight lang="bash">
 
$LAUNCHER --no-terminal
 
$LAUNCHER --no-terminal
</source></li>
+
</syntaxhighlight></li>
 
</ol>
 
</ol>
 
</li>
 
</li>
Line 150: Line 150:  
<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="bash">open -a Terminal ./StardewModdingAPI.bin.osx $@</source>
+
<syntaxhighlight lang="bash">open -a Terminal ./StardewModdingAPI.bin.osx $@</syntaxhighlight>
 
And change it to this:
 
And change it to this:
<source lang="bash">./StardewModdingAPI.bin.osx $@ 2>&1 > /dev/null</source>
+
<syntaxhighlight lang="bash">./StardewModdingAPI.bin.osx $@ 2>&1 > /dev/null</syntaxhighlight>
 
</li>
 
</li>
 
</ol>
 
</ol>
Line 201: Line 201:     
On Mac, it might not work after installing Mono. If so:
 
On Mac, it might not work after installing Mono. If so:
* Enter this command: <source lang="bash">ln -s /Library/Frameworks/Mono.framework/Versions/Current/bin/mono /usr/local/bin/mono</source>
+
* Enter this command: <syntaxhighlight lang="bash">ln -s /Library/Frameworks/Mono.framework/Versions/Current/bin/mono /usr/local/bin/mono</syntaxhighlight>
 
* If that shows an error or it still doesn't work, you can [https://brew.sh install Homebrew] and run <code>brew install mono mono-libgdiplus</code> in the Terminal app.
 
* If that shows an error or it still doesn't work, you can [https://brew.sh install Homebrew] and run <code>brew install mono mono-libgdiplus</code> in the Terminal app.
  
114

edits

Navigation menu