main/bootstrap
Interfaces
Section titled “Interfaces”BundleLayout
Section titled “BundleLayout”Defined in: app/src/main/bootstrap.ts:97
Paths of the bundled files, relative to the main bundle.
Properties
Section titled “Properties”blockerDir
Section titled “blockerDir”
readonlyblockerDir:string
Defined in: app/src/main/bootstrap.ts:105
Folder of the content blocker data.
dataService
Section titled “dataService”
readonlydataService:string
Defined in: app/src/main/bootstrap.ts:109
Path of the data service’s entry.
devShellUrl
Section titled “devShellUrl”
readonlydevShellUrl:string|undefined
Defined in: app/src/main/bootstrap.ts:111
Dev server URL of the shell, only during development.
framePreload
Section titled “framePreload”
readonlyframePreload:string
Defined in: app/src/main/bootstrap.ts:107
Path of the content blocker’s preload for the frames of web pages.
pagePreload
Section titled “pagePreload”
readonlypagePreload:string
Defined in: app/src/main/bootstrap.ts:103
Preload script of internal pages.
rendererDir
Section titled “rendererDir”
readonlyrendererDir:string
Defined in: app/src/main/bootstrap.ts:99
Directory of the renderer build (one folder per internal host).
shellPreload
Section titled “shellPreload”
readonlyshellPreload:string
Defined in: app/src/main/bootstrap.ts:101
Preload script of the shell.
Functions
Section titled “Functions”bootstrap()
Section titled “bootstrap()”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.
Parameters
Section titled “Parameters”layout
Section titled “layout”Where the bundled files are.
Returns
Section titled “Returns”Promise<void>