Files
moudey--shell/docs/functions/app.html
T
2026-07-13 12:28:17 +08:00

87 lines
2.9 KiB
HTML

<h5>APP</h5>
<br>
<p>The namespace of the application contains file paths, version and some details.</p>
<br>
<section id="app.directory" class="my-5">
<h5>app.directory</h5>
<p>Returns the path of <b>Shell</b> directory.</p>
<p>Syntax</p>
<pre><code>app.directory // usage in section context
'@app.directory' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.cfg" class="my-5">
<h5>app.cfg</h5>
<p>Returns the path of the <a href="/docs/configuration/index.html#shell.nss">configuration file</a> <code>shell.nss</code> (or <code>shell.shl</code>
in older installations).</p>
<p>Syntax</p>
<pre><code>app.cfg // usage in section context
'@app.cfg' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.dll" class="my-5">
<h5>app.dll</h5>
<p>Returns the path of <code>shell.dll</code>.</p>
<p>Syntax</p>
<pre><code>app.dll // usage in section context
'@app.dll' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.exe" class="my-5">
<h5>app.exe</h5>
<p>Returns the path of <code>shell.exe</code>.</p>
<p>Syntax</p>
<pre><code>app.exe // usage in section context
'@app.exe' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.name" class="my-5">
<h5>app.name</h5>
<p>Returns application name.</p>
<p>Syntax</p>
<pre><code>app.name // usage in section context
'@app.name' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.version" class="my-5">
<h5>app.version</h5>
<p>Returns <b>Shell</b> version.</p>
<p>Syntax</p>
<pre><code>app.version // usage in section context
'@app.version' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.is64" class="my-5">
<h5>app.is64</h5>
<p>Returns the architecture of the application.</p>
<p>Syntax</p>
<pre><code>app.is64 // usage in section context
'@app.is64' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.about" class="my-5">
<h5>app.about</h5>
<p>Returns <b>Shell</b> information.</p>
<p>Syntax</p>
<pre><code>app.about // usage in section context
'@app.about' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.reload" class="my-5">
<h5>app.reload</h5>
<p>Reload the <a href="/docs/configuration/index.html#shell.nss">configuration file</a>.
</p>
<p>Syntax</p>
<pre><code>app.reload // usage in section context
'@app.reload' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.unload" class="my-5">
<h5>app.unload</h5>
<p>Unload the <a href="/docs/configuration/index.html#shell.nss">configuration file</a>.
</p>
<p>Syntax</p>
<pre><code>app.unload // usage in section context
'@app.unload' // usage inside quoted-string literals</code></pre>
</section>