You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/breaking-changes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ Child windows opened with the `nativeWindowOpen` option will always have Node.js
102
102
Renderer process APIs `webFrame.setRegisterURLSchemeAsPrivileged` and `webFrame.registerURLSchemeAsBypassingCSP` as well as browser process API `protocol.registerStandardSchemes` have been removed.
103
103
A new API, `protocol.registerSchemesAsPrivileged` has been added and should be used for registering custom schemes with the required privileges. Custom schemes are required to be registered before app ready.
Returns `Promise<Object>` - Resolve wih an object containing the following:
117
117
118
-
*`canceled` - Boolean - whether or not the dialog was canceled.
118
+
*`canceled` - Boolean - whether or not the dialog was canceled.
119
119
*`filePaths` String[] (optional) - An array of file paths chosen by the user. If the dialog is cancelled this will be an empty array.
120
120
*`bookmarks` String[] (optional) _macOS__mas_ - An array matching the `filePaths` array of base64 encoded strings which contains security scoped bookmark data. `securityScopedBookmarks` must be enabled for this to be populated.
GitHub's Electron team maintains [update.electronjs.org], a free and open-source
11
-
webservice that Electron apps can use to self-update. The service is designed
11
+
webservice that Electron apps can use to self-update. The service is designed
12
12
for Electron apps that meet the following criteria:
13
13
14
14
- App runs on macOS or Windows
@@ -31,13 +31,13 @@ Invoke the updater from your app's main process file:
31
31
require('update-electron-app')()
32
32
```
33
33
34
-
By default, this module will check for updates at app startup, then every ten
35
-
minutes. When an update is found, it will automatically be downloaded in the background. When the download completes, a dialog is displayed allowing the user
34
+
By default, this module will check for updates at app startup, then every ten
35
+
minutes. When an update is found, it will automatically be downloaded in the background. When the download completes, a dialog is displayed allowing the user
36
36
to restart the app.
37
37
38
-
If you need to customize your configuration, you can
38
+
If you need to customize your configuration, you can
39
39
[pass options to `update-electron-app`][update-electron-app]
40
-
or
40
+
or
41
41
[use the update service directly][update.electronjs.org].
42
42
43
43
## Using `electron-builder`
@@ -51,7 +51,7 @@ update mechanism, meaning that the rest of this documentation will not apply to
51
51
## Deploying an Update Server
52
52
53
53
If you're developing a private Electron application, or if you're not
54
-
publishing releases to GitHub Releases, it may be necessary to run your own
54
+
publishing releases to GitHub Releases, it may be necessary to run your own
55
55
update server.
56
56
57
57
Depending on your needs, you can choose from one of these:
0 commit comments