Skeudenn / main/services/update-checker / checkForUpdate
Function: checkForUpdate() ​
checkForUpdate(
currentVersion,options):Promise<UpdateCheckResult>
Defined in: src/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>