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

@@ -47,7 +47,7 @@ export const IDEUpdaterPath = '/services/ide-updater';
export const IDEUpdater = Symbol('IDEUpdater');
export interface IDEUpdater extends JsonRpcServer<IDEUpdaterClient> {
init(channel: UpdateChannel): void;
checkForUpdates(): Promise<UpdateInfo | void>;
checkForUpdates(initialCheck?: boolean): Promise<UpdateInfo | void>;
downloadUpdate(): Promise<void>;
quitAndInstall(): void;
stopDownload(): void;