File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11# autoUpdater
22
3- > Enable apps to update themselves automatically .
3+ > Enable apps to automatically update themselves.
44
5- The ` autoUpdater ` module provides and interface for the [ Squirrel] ( https://github.com/Squirrel ) framework.
5+ The ` autoUpdater ` module provides an interface for the [ Squirrel] ( https://github.com/Squirrel ) framework.
66
77You can quickly launch a multi-platform release server for distributing your
88application by using one of these projects:
Original file line number Diff line number Diff line change 33> Command line switches supported by Electron.
44
55You can use [ app.commandLine.appendSwitch] [ append-switch ] to append them in
6- your app's main script before the [ ready] [ ready ] event of [ app] [ app ] module is
7- emitted:
6+ your app's main script before the [ ready] [ ready ] event of the [ app] [ app ] module
7+ is emitted:
88
99``` javascript
1010const app = require (' electron' ).app ;
Original file line number Diff line number Diff line change 33> Collect tracing data from Chromium's content module for finding performance
44 bottlenecks and slow operations.
55
6- This module does not include a web interface
7- so you need to open ` chrome://tracing/ ` in a Chrome browser and load the
8- generated file to view the result.
6+ This module does not include a web interface so you need to open
7+ ` chrome://tracing/ ` in a Chrome browser and load the generated file to view the
8+ result.
99
1010``` javascript
1111const contentTracing = require (' electron' ).contentTracing ;
Original file line number Diff line number Diff line change 11# MenuItem
22
3- > Add items to application and context menus.
3+ > Add items to native application menus and context menus.
44
55See [ ` menu ` ] ( menu.md ) for examples.
66
Original file line number Diff line number Diff line change 11# protocol
22
3- > Register a custom protocol and intercept existing protocols .
3+ > Register a custom protocol and intercept existing protocol requests .
44
55An example of implementing a protocol that has the same effect as the
66` file:// ` protocol:
Original file line number Diff line number Diff line change 11# The ` window.open ` function
22
3- > Create a new window in a web page .
3+ > Open a new window and load a URL .
44
55When ` window.open ` is called to create a new window in a web page, a new instance
66of ` BrowserWindow ` will be created for the ` url ` and a proxy will be returned
You can’t perform that action at this time.
0 commit comments