add preference to set a custom update url (#865)

This commit is contained in:
Alberto Iannaccone
2022-02-28 14:04:54 +00:00
committed by GitHub
parent baa9b5f7ab
commit 5979e5aad2
4 changed files with 14 additions and 7 deletions

View File

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