Automatically check for updates only once (#863)

* Automatically check for updates only once

* set windows version to 2019 on CI
This commit is contained in:
Alberto Iannaccone
2022-02-24 14:04:36 +00:00
committed by GitHub
parent 481497e384
commit baa9b5f7ab
5 changed files with 17 additions and 9 deletions

View File

@@ -31,8 +31,8 @@ export class IDEUpdaterCommands implements CommandContribution {
});
}
async checkForUpdates(): Promise<UpdateInfo | void> {
return await this.updater.checkForUpdates();
async checkForUpdates(initialCheck?: boolean): Promise<UpdateInfo | void> {
return await this.updater.checkForUpdates(initialCheck);
}
async downloadUpdate(): Promise<void> {