update USAGE.html

Former-commit-id: a116e9f35e
Former-commit-id: c4231508410baadcca3e7034e8ee3216a10f9c5c
This commit is contained in:
idk
2022-09-11 01:47:31 -04:00
parent 5dca31b0a7
commit 84cadbac94

View File

@ -129,9 +129,6 @@
/
</a>
<h1>
<a href="#example-commands" rel="nofollow">
<span></span>
</a>
Example Commands:
</h1>
<p>
@ -141,7 +138,7 @@
The top command is for Unixes and should work on most POSIX shells. After it runs, the script will terminate preventing Windows commands from running.
</p>
<p>
The second and third command is for Windows and won&#39;t be reachable on Linux(because the top command will be run and the script will exit).
The second and third command is for Windows and won&rsquo;t be reachable on Linux(because the top command will be run and the script will exit).
</p>
<p>
Both determine the path to the script, use it to find the jar file, and execute a single command.
@ -149,57 +146,45 @@
<p>
Auto-Select in Persistent Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser; exit $?
<pre><code class="language-sh">:; dir=$(CDPATH= cd -- &quot;$(dirname -- &quot;$0&quot;)&quot; &amp;&amp; pwd); java -cp &quot;$dir&quot;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser
</pre>
</div>
</code></pre>
<p>
Auto-Select in Private Browsing Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private; exit $?
<pre><code class="language-sh">:; dir=$(CDPATH= cd -- &quot;$(dirname -- &quot;$0&quot;)&quot; &amp;&amp; pwd); java -cp &quot;$dir&quot;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PBrowser -private
</pre>
</div>
</code></pre>
<p>
Firefox in Persistent Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox; exit $?
<pre><code class="language-sh">:; dir=$(CDPATH= cd -- &quot;$(dirname -- &quot;$0&quot;)&quot; &amp;&amp; pwd); java -cp &quot;$dir&quot;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox
</pre>
</div>
</code></pre>
<p>
Firefox in Private Browsing Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private; exit $?
<pre><code class="language-sh">:; dir=$(CDPATH= cd -- &quot;$(dirname -- &quot;$0&quot;)&quot; &amp;&amp; pwd); java -cp &quot;$dir&quot;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PFirefox -private
</pre>
</div>
</code></pre>
<p>
Chromium in Persistent Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium; exit $?
<pre><code class="language-sh">:; dir=$(CDPATH= cd -- &quot;$(dirname -- &quot;$0&quot;)&quot; &amp;&amp; pwd); java -cp &quot;$dir&quot;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium
</pre>
</div>
</code></pre>
<p>
Chromium in Private Browsing Mode
</p>
<div>
<pre>:; dir=$(CDPATH= cd -- &#34;$(dirname -- &#34;$0&#34;)&#34; &amp;&amp; pwd); java -cp &#34;$dir&#34;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private; exit $?
<pre><code class="language-sh">:; dir=$(CDPATH= cd -- &quot;$(dirname -- &quot;$0&quot;)&quot; &amp;&amp; pwd); java -cp &quot;$dir&quot;/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private; exit $?
@ECHO OFF
java -cp %cd%/src/build/i2pfirefox.jar net.i2p.i2pfirefox.I2PChromium -private
</pre>
</div>
</code></pre>
<div id="sourcecode">
<span id="sourcehead">
<strong>