Skip to content

main/bootstrap

Defined in: app/src/main/bootstrap.ts:97

Paths of the bundled files, relative to the main bundle.

readonly blockerDir: string

Defined in: app/src/main/bootstrap.ts:105

Folder of the content blocker data.

readonly dataService: string

Defined in: app/src/main/bootstrap.ts:109

Path of the data service’s entry.

readonly devShellUrl: string | undefined

Defined in: app/src/main/bootstrap.ts:111

Dev server URL of the shell, only during development.

readonly framePreload: string

Defined in: app/src/main/bootstrap.ts:107

Path of the content blocker’s preload for the frames of web pages.

readonly pagePreload: string

Defined in: app/src/main/bootstrap.ts:103

Preload script of internal pages.

readonly rendererDir: string

Defined in: app/src/main/bootstrap.ts:99

Directory of the renderer build (one folder per internal host).

readonly shellPreload: string

Defined in: app/src/main/bootstrap.ts:101

Preload script of the shell.

bootstrap(layout): Promise<void>

Defined in: app/src/main/bootstrap.ts:126

Starts the browser. The order matters for start-up time and safety: schemes and the last known policies before ready, fresh policies before the window, sessions hardened before any view exists, the window as early as possible, everything else after the first paint.

BundleLayout

Where the bundled files are.

Promise<void>