Skip to content

main/boot

Defined in: app/src/main/boot.ts:15

The boot guard and what it decided for this start.

readonly decision: BootDecision

Defined in: app/src/main/boot.ts:17

readonly guard: BootGuard

Defined in: app/src/main/boot.ts:16

readonly installType: InstallType

Defined in: app/src/main/boot.ts:18

readonly rollback: RollbackOptions

Defined in: app/src/main/boot.ts:20

Where the rollback keeps the previous version; its code loads when it is needed.

checkBoot(logger): Promise<BootCheck | undefined>

Defined in: app/src/main/boot.ts:29

Runs the boot guard first thing in the main process. After an update failed to start too often, the previous version is restored and started instead.

Logger

Logger.

Promise<BootCheck | undefined>

The check, or undefined when this process must exit for a rollback.