35 lines
1.5 KiB
TypeScript
35 lines
1.5 KiB
TypeScript
import { Arch } from "builder-util";
|
|
import { PackageFileInfo } from "builder-util-runtime";
|
|
import { Target } from "../../core";
|
|
import { WinPackager } from "../../winPackager";
|
|
import { NsisOptions } from "./nsisOptions";
|
|
import { AppPackageHelper } from "./nsisUtil";
|
|
export declare class NsisTarget extends Target {
|
|
readonly packager: WinPackager;
|
|
readonly outDir: string;
|
|
protected readonly packageHelper: AppPackageHelper;
|
|
readonly options: NsisOptions;
|
|
/** @private */
|
|
readonly archs: Map<Arch, string>;
|
|
constructor(packager: WinPackager, outDir: string, targetName: string, packageHelper: AppPackageHelper);
|
|
build(appOutDir: string, arch: Arch): Promise<void>;
|
|
readonly isBuildDifferentialAware: boolean;
|
|
private getPreCompressedFileExtensions;
|
|
/** @private */
|
|
buildAppPackage(appOutDir: string, arch: Arch): Promise<PackageFileInfo>;
|
|
finishBuild(): Promise<any>;
|
|
protected readonly installerFilenamePattern: string;
|
|
private readonly isPortable;
|
|
private buildInstaller;
|
|
protected generateGitHubInstallerName(): string;
|
|
private readonly isUnicodeEnabled;
|
|
readonly isWebInstaller: boolean;
|
|
private computeScriptAndSignUninstaller;
|
|
private computeVersionKey;
|
|
protected configureDefines(oneClick: boolean, defines: any): Promise<any>;
|
|
private configureDefinesForAllTypeOfInstaller;
|
|
private executeMakensis;
|
|
private computeCommonInstallerScriptHeader;
|
|
private computeFinalScript;
|
|
}
|