Electron JS - Deep Linking - Example of how to use deep linking
<p>In Electron JS, I created an app for Windows and registered my own protocol for deep linking. The app properly opens when clicking on my link <code>ludo://play?level=1234</code>. No problem there. However I don't know how to retrieve the deep link inside of my app. The docs for <a href="http://electron.atom.io/docs/all/#appsetasdefaultprotocolclientprotocol-path-args-macos-windows" rel="noreferrer">app.setAsDefaultProtocolClient</a> mention this sentence:</p>

<p><code>The whole link, including protocol, will be passed to your application as a parameter.</code></p>

<p>Can anyone tell me how to retrieve that? Because it is not in <code>process.argv</code> nor is it in <code>process.execPath</code> or <code>process.execArgv</code>.</p>

<p>Could it be passed in a callback when the app starts? Any help on this would be great.</p>