15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { AllPublishOptions } from "builder-util-runtime";
import { AppAdapter } from "./AppAdapter";
import { AppUpdater, DownloadExecutorTask } from "./AppUpdater";
export declare abstract class BaseUpdater extends AppUpdater {
    protected quitAndInstallCalled: boolean;
    private quitHandlerAdded;
    protected constructor(options?: AllPublishOptions | null, app?: AppAdapter);
    quitAndInstall(isSilent?: boolean, isForceRunAfter?: boolean): void;
    protected executeDownload(taskOptions: DownloadExecutorTask): Promise<Array<string>>;
    protected abstract doInstall(options: InstallOptions): boolean;
    protected install(isSilent: boolean, isForceRunAfter: boolean): boolean;
    protected addQuitHandler(): void;
}
export interface InstallOptions {
    readonly installerPath: string;
    readonly isSilent: boolean;
    readonly isForceRunAfter: boolean;
    readonly isAdminRightsRequired: boolean;
}