mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Merge pull request #3590 from vQuagliaro/doc-windows-open-file
[doc] open-file and open-url events are only available on OS X
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user