electron/docs
Gordon MacPherson 9b4fef3c38 Fixed vscode debugging code
Fixes app.getPath("userData") pointing to the wrong folder. (electron in %appdata%)

The old debugger essentially runs:
.\node_modules\.bin\electron main.js

Which makes userData incorrect and various other things wrong related to app launch.

The new version correctly executes:
.\node_modules\.bin\electron .

Which means when you call app.getPath("userData") it will return the correct folder name, and not 'electron', which is what my app was doing even though the folder was named properly.
2017-05-20 14:56:26 +01:00
..
api Tweak webviewTag option description 2017-05-19 10:22:28 -07:00
development Clang-Format extension for Visual Studio Code 2017-05-12 18:40:46 +02:00
tutorial Fixed vscode debugging code 2017-05-20 14:56:26 +01:00
faq.md Update faq.md 2017-04-22 23:11:04 -04:00
glossary.md Update docs for new brightray location 2017-05-10 13:42:21 -07:00
README.md Merge branch 'master' into felix-notification-docs 2017-05-01 15:56:14 -07:00
styleguide.md Put optional label before dash 2016-12-29 14:11:26 -08:00

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

Tutorials

API References

Custom DOM Elements:

Modules for the Main Process:

Modules for the Renderer Process (Web Page):

Modules for Both Processes:

Development