The default entrypoint will handle a very rudimentary CLI to open workspaces by doing app path/to/workspace. To override this behavior, you can extend and rebind the
ElectronMainApplication class and overriding the launch method.
A JSON-RPC communication between the Electron Main Process and the Renderer Processes is available: You can bind services using the ElectronConnectionHandler and
ElectronIpcConnectionProvider APIs, example:
The default entrypoint will handle a very rudimentary CLI to open workspaces by doing
app path/to/workspace
. To override this behavior, you can extend and rebind theElectronMainApplication
class and overriding thelaunch
method. A JSON-RPC communication between the Electron Main Process and the Renderer Processes is available: You can bind services using theElectronConnectionHandler
andElectronIpcConnectionProvider
APIs, example:From an
electron-main
module:And from the
electron-browser
module: