main/updates
Interfaces
Section titled “Interfaces”UpdateDependencies
Section titled “UpdateDependencies”Defined in: app/src/main/updates.ts:32
What the update service needs from the composition root.
Properties
Section titled “Properties”
readonlyboot:BootCheck
Defined in: app/src/main/updates.ts:38
The boot guard and rollback of this start.
readonlyclock:Clock
Defined in: app/src/main/updates.ts:34
logger
Section titled “logger”
readonlylogger:Logger
Defined in: app/src/main/updates.ts:35
policies
Section titled “policies”
readonlypolicies:PolicyService
Defined in: app/src/main/updates.ts:33
userData
Section titled “userData”
readonlyuserData:string
Defined in: app/src/main/updates.ts:36
Functions
Section titled “Functions”createUpdateService()
Section titled “createUpdateService()”createUpdateService(
deps):UpdateService
Defined in: app/src/main/updates.ts:47
Creates the update service from policies and the installation. electron-updater is imported only when a check finds an update, so it adds nothing to the start-up time or to the checks that find none.
Parameters
Section titled “Parameters”Policies, clock, logger and the profile folder.