Skip to content

Commit 993a616

Browse files
committed
Update index.html
1 parent 7f6091e commit 993a616

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/wwwroot/sharp-apps/index.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,29 @@ <h4 id="vue-desktop">Vue Desktop</h4>
184184

185185
<iframe width="896" height="525" src="https://www.youtube.com/embed/kRnQSWdqH6U" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
186186

187+
<p>
188+
To run Chromium Desktop Apps install the
189+
<a href="https://docs.servicestack.net/netcore-windows-desktop">app tool</a>:
190+
</p>
191+
192+
<pre class="sh"><code>$ dotnet tool install -g app</code></pre>
193+
194+
<p>This has all the same features of the <a href="https://docs.servicestack.net/dotnet-tool">x tool</a> where you can create new projects with:</p>
195+
196+
<pre class="sh"><code>$ app new vue-desktop ProjectName</code></pre>
197+
198+
<p>
199+
Then after packaging the Web App into a Sharp App with:
200+
</p>
201+
202+
<pre class="sh"><code>$ npm run pack-app</code></pre>
203+
204+
<p>
205+
You can run it as a Desktop App by running the <em>app</em> tool in the <em>dist</em> folder:
206+
</p>
207+
208+
<pre class="sh"><code>$ cd dist && app</code></pre>
209+
187210
<h4 id="bare-app">Bare SharpApp</h4>
188211

189212
<p>

0 commit comments

Comments
 (0)