Variable ElectronMainApplicationContributionConst

ElectronMainApplicationContribution: typeof ElectronMainApplicationContribution = ...

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:

From an electron-main module:

bind(ElectronConnectionHandler).toDynamicValue(context =>
new RpcConnectionHandler(electronMainWindowServicePath,
() => context.container.get(ElectronMainWindowService))
).inSingletonScope();

And from the electron-browser module:

bind(ElectronMainWindowService).toDynamicValue(context =>
ElectronIpcConnectionProvider.createProxy(context.container, electronMainWindowServicePath)
).inSingletonScope();