From: Vincent Quagliaro Date: Thu, 26 Nov 2015 08:05:02 +0000 (+0100) Subject: :memo: open-file and open-url events are only available on OS X X-Git-Tag: v0.35.2~9^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=fe4638ef332295e5a8b9e3b901060c37e2a96627;p=electron.git :memo: open-file and open-url events are only available on OS X --- diff --git a/docs/api/app.md b/docs/api/app.md index 00aade7c..cf428458 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -66,7 +66,7 @@ the `will-quit` and `window-all-closed` events. Emitted when the application is quitting. -### Event: 'open-file' +### Event: 'open-file' _OS X_ Returns: @@ -82,7 +82,9 @@ handle this case (even before the `ready` event is emitted). You should call `event.preventDefault()` if you want to handle this event. -### Event: 'open-url' +On Windows, you have to parse `process.argv` to get the filepath. + +### Event: 'open-url' _OS X_ Returns: