Skip to content

Commit b65b68b

Browse files
Update protocol-handler.html
1 parent 015eb56 commit b65b68b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sections/system/protocol-handler.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,20 @@ <h3>The <code>app</code> module provides methods for handling protocols.</h3>
1616
<div class="demo">
1717
<div class="demo-wrapper">
1818
<button id="copy-to-demo-toggle" class="js-container-target demo-toggle-button">Launch app from URL in another app
19-
<div class="demo-meta u-avoid-clicks">Supports: Win, OS X <span class="demo-meta-divider">|</span> Process: Main</div>
19+
<div class="demo-meta u-avoid-clicks">Supports: Win, macOS <span class="demo-meta-divider">|</span> Process: Main</div>
2020
</button>
2121
<div class="demo-box">
2222
<div class="demo-controls">
2323
<button class="demo-button" id="protocol-handler">View Demo</button>
2424
</div>
2525
<p>You can set your app as the default app to open for a specific protocol. For instance, in this demo we set this app as the default for <code>electron-api-demos://</code>. The demo button above will launch a page in your default browser with a link. Click that link and it will re-launch this app.</p>
2626
<h5>Packaging</h5>
27-
<p>This feature will only work on OS X when your app is packaged. It will not work when you're launching it in development from the command-line. When you package your app you'll need to make sure the OS X <code>plist</code> for the app is updated to include the new protocol handler. If you're using <code>electron-packager</code> then you can add the flag <code>--extend-info</code> with a path to the <code>plist</code> you've created. The one for this app is below.</p>
27+
<p>This feature will only work on macOS when your app is packaged. It will not work when you're launching it in development from the command-line. When you package your app you'll need to make sure the OS X <code>plist</code> for the app is updated to include the new protocol handler. If you're using <code>electron-packager</code> then you can add the flag <code>--extend-info</code> with a path to the <code>plist</code> you've created. The one for this app is below.</p>
2828
<h5>Renderer Process</h5>
2929
<pre><code data-path="renderer-process/system/protocol-handler.js"></pre></code>
3030
<h5>Main Process</h5>
3131
<pre><code data-path="main-process/system/protocol-handler.js"></pre></code>
32-
<h5>OS X plist</h5>
32+
<h5>macOS plist</h5>
3333
<pre><code class="language-xml" data-path="assets/mac/info.plist"></pre></code>
3434
</div>
3535
</div>

0 commit comments

Comments
 (0)