NsisUpdater.d.ts 753 B

12345678910111213
  1. import { AllPublishOptions, CancellationToken, UpdateInfo } from "builder-util-runtime";
  2. import "source-map-support/register";
  3. import { BaseUpdater } from "./BaseUpdater";
  4. export declare class NsisUpdater extends BaseUpdater {
  5. constructor(options?: AllPublishOptions | null, app?: any);
  6. /*** @private */
  7. protected doDownloadUpdate(updateInfo: UpdateInfo, cancellationToken: CancellationToken): Promise<Array<string>>;
  8. private verifySignature(tempUpdateFile);
  9. protected doInstall(installerPath: string, isSilent: boolean, isForceRunAfter: boolean): boolean;
  10. private differentialDownloadInstaller(fileInfo, installerPath, requestHeaders, provider);
  11. private differentialDownloadWebPackage(packageInfo, packagePath, provider);
  12. }