Skip to content

Commit eba4b82

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sections/system/protocol-handler.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h3>The <code>app</code> module provides methods for handling protocols.</h3>
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 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>
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 macOS <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>

0 commit comments

Comments
 (0)