mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-05 16:38:32 +00:00
add preference to set a custom update url (#865)
This commit is contained in:
committed by
GitHub
parent
baa9b5f7ab
commit
5979e5aad2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user