Tankōbon / main/services/update-checker / checkForUpdate
Function: checkForUpdate()
checkForUpdate(
currentVersion,options):Promise<UpdateCheckResult>
Defined in: main/services/update-checker.ts:15
Compares currentVersion with the tag of the latest GitHub release. Network failures come back as an error result (translated), not as a throw.
Parameters
currentVersion
string
options
Returns
Promise<UpdateCheckResult>