mirror of
https://github.com/moudey/Shell.git
synced 2026-11-16 09:04:25 +08:00
34 lines
1.1 KiB
HTML
34 lines
1.1 KiB
HTML
<h4>Get Started</h4>
|
|
<br>
|
|
<p>
|
|
This tutorial will teach you the basics of <b>Shell</b>.<br>
|
|
It is not necessary to have any prior experience.
|
|
</p>
|
|
<p>
|
|
To start using <b>Shell</b>, you need:<br>
|
|
A text editor, like Notepad, to write <b>Shell</b> code.
|
|
</p>
|
|
<h5>Quickstart</h5>
|
|
<p>Let's create our first menu item.</p>
|
|
<p>Open the configuration file "shell.nss" and Write the following code and save.</p>
|
|
<div class="notification is-info is-light mt-5" role="alert">
|
|
<i>Tip:</i> You find the configuration file "shell.nss" in the shell folder.
|
|
</div>
|
|
<br/>
|
|
<pre><code class="lang-shell">shell
|
|
{
|
|
dynamic
|
|
{
|
|
item(title='Hello, World!')
|
|
}
|
|
}</code></pre>
|
|
<p>Don't worry if you don't understand the code above - we will discuss it in detail in later chapters.</p>
|
|
<p>The result will look something for this when you press the right-click in an empty place on the desktop:</p>
|
|
<div class="has-text-centered my-5">
|
|
<a class="lightbox">
|
|
<img src="/images/docs/helloworld.png">
|
|
</a>
|
|
</div>
|
|
|
|
<p><strong>Congratulations</strong> You have now added the first time a menu item to the context menu</p>
|