main/boot
Interfaces
Section titled “Interfaces”BootCheck
Section titled “BootCheck”Defined in: app/src/main/boot.ts:15
The boot guard and what it decided for this start.
Properties
Section titled “Properties”decision
Section titled “decision”
readonlydecision:BootDecision
Defined in: app/src/main/boot.ts:17
readonlyguard:BootGuard
Defined in: app/src/main/boot.ts:16
installType
Section titled “installType”
readonlyinstallType:InstallType
Defined in: app/src/main/boot.ts:18
rollback
Section titled “rollback”
readonlyrollback:RollbackOptions
Defined in: app/src/main/boot.ts:20
Where the rollback keeps the previous version; its code loads when it is needed.
Functions
Section titled “Functions”checkBoot()
Section titled “checkBoot()”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.
Parameters
Section titled “Parameters”logger
Section titled “logger”Logger.
Returns
Section titled “Returns”Promise<BootCheck | undefined>
The check, or undefined when this process must exit for a rollback.