electron/docs
Samuel Attard 5b5c161601
feat: new makeSingleInstance API (#12782)
* Refactor app.makeSingleInstance
* new API `app.isPrimaryInstance()`
* new API `app.isSingleInstance()`
* new event `app.on('second-instance')`
* deprecated old syntax `app.makeSingleInstance(cb)`
* deprecated old syntax of `app.makeSingleInstance() --> bool` in favor
of `app.isPrimaryInstance()`
* Fix spec, we don't need process.nextTick hacks any more
* Make deprecation TODO for the return value of makeSingleInstance
* Refactor makeSingleInstance to requestSingleInstanceLock and add appropriate deprecation comments
* I swear this isn't tricking the linter
* Make const
* Add deprecation warnings for release, and add to planned-breaking-changes

BREAKING CHANGE
2018-05-08 01:29:18 +10:00
..
api feat: new makeSingleInstance API (#12782) 2018-05-08 01:29:18 +10:00
development Fix some broken documentation links (#12794) 2018-05-02 10:33:07 -05:00
images docs: fix images 2017-12-05 12:08:41 -08:00
tutorial feat: new makeSingleInstance API (#12782) 2018-05-08 01:29:18 +10:00
faq.md remove all double spaces not needed 2017-11-29 11:58:24 +01:00
glossary.md add IDL and Mojo to glossary (#12504) 2018-04-03 07:58:25 -05:00
README.md add code signing tutorial (#12767) 2018-05-01 19:56:44 -05:00
styleguide.md update references to renamed i18n repo 2018-03-02 12:05:49 -08:00

Official Guides

Please make sure that you use the documents that match your Electron version. The version number should be a part of the page URL. If it's not, you are probably using the documentation of a development branch which may contain API changes that are not compatible with your Electron version. To view older versions of the documentation, you can browse by tag on GitHub by opening the "Switch branches/tags" dropdown and selecting the tag that matches your version.

FAQ

There are questions that are asked quite often. Check this out before creating an issue:

Guides and Tutorials

Detailed Tutorials

These individual tutorials expand on topics discussed in the guide above.


API References

Custom DOM Elements:

Modules for the Main Process:

Modules for the Renderer Process (Web Page):

Modules for Both Processes:

Development

See development/README.md