1 | import { AllPublishOptions } from "builder-util-runtime";
|
2 | import { AppAdapter } from "./AppAdapter";
|
3 | import { DownloadUpdateOptions } from "./AppUpdater";
|
4 | import { BaseUpdater, InstallOptions } from "./BaseUpdater";
|
5 | import { verifyUpdateCodeSignature } from "./main";
|
6 | export declare class NsisUpdater extends BaseUpdater {
|
7 | |
8 |
|
9 |
|
10 |
|
11 | installDirectory?: string;
|
12 | constructor(options?: AllPublishOptions | null, app?: AppAdapter);
|
13 | protected _verifyUpdateCodeSignature: verifyUpdateCodeSignature;
|
14 | /**
|
15 | * The verifyUpdateCodeSignature. You can pass [win-verify-signature](https:
|
16 | * The default verify function uses [windowsExecutableCodeSignatureVerifier](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/src/windowsExecutableCodeSignatureVerifier.ts)
|
17 | */
|
18 | get verifyUpdateCodeSignature(): verifyUpdateCodeSignature;
|
19 | set verifyUpdateCodeSignature(value: verifyUpdateCodeSignature);
|
20 |
|
21 | protected doDownloadUpdate(downloadUpdateOptions: DownloadUpdateOptions): Promise<Array<string>>;
|
22 | private verifySignature;
|
23 | protected doInstall(options: InstallOptions): boolean;
|
24 | private differentialDownloadWebPackage;
|
25 | }
|
26 |
|
\ | No newline at end of file |