The source code of Electron is separated into a few parts, mostly following Chromium on the separation conventions.
You may need to become familiar with Chromium’s multi-process architecture to understand the source code better.
script, scripts put here should never be invoked by users directly.
third_partyas name because it would confuse it with the same directory in Chromium’s source code tree.
script/create-dist.pyscript when creating a distribution.
The Electron repository has a few vendored dependencies, found in the /vendor directory. Occasionally you might see a message like this when running
$ git status modified: vendor/libchromiumcontent (new commits) modified: vendor/node (new commits)
To update these vendored dependencies, run the following command:
git submodule update --init --recursive
If you find yourself running this command often, you can create an alias for it in your
[alias] su = submodule update --init --recursive