update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
48
electron/node_modules/app-builder-lib/out/macPackager.d.ts
generated
vendored
48
electron/node_modules/app-builder-lib/out/macPackager.d.ts
generated
vendored
|
|
@ -1,29 +1,49 @@
|
|||
import { SignOptions } from "@electron/osx-sign/dist/cjs/types";
|
||||
import { Identity } from "@electron/osx-sign/dist/cjs/util-identities";
|
||||
import { Arch, AsyncTaskManager } from "builder-util";
|
||||
import { SignOptions } from "electron-osx-sign";
|
||||
import { Lazy } from "lazy-val";
|
||||
import { MemoLazy, Nullish } from "builder-util-runtime";
|
||||
import { AppInfo } from "./appInfo";
|
||||
import { CodeSigningInfo, Identity } from "./codeSign/macCodeSign";
|
||||
import { CodeSigningInfo, CreateKeychainOptions } from "./codeSign/macCodeSign";
|
||||
import { Target } from "./core";
|
||||
import { AfterPackContext, ElectronPlatformName } from "./index";
|
||||
import { MacConfiguration } from "./options/macOptions";
|
||||
import { AfterPackContext } from "./index";
|
||||
import { MacTargetHelper } from "./mac/MacTargetHelper";
|
||||
import { MacConfiguration, MasConfiguration } from "./options/macOptions";
|
||||
import { Packager } from "./packager";
|
||||
import { PlatformPackager } from "./platformPackager";
|
||||
export default class MacPackager extends PlatformPackager<MacConfiguration> {
|
||||
readonly codeSigningInfo: Lazy<CodeSigningInfo>;
|
||||
import { DoPackOptions, PlatformPackager } from "./platformPackager";
|
||||
export type CustomMacSignOptions = SignOptions;
|
||||
export type CustomMacSign = (configuration: CustomMacSignOptions, packager: MacPackager) => Promise<void>;
|
||||
export declare class MacPackager extends PlatformPackager<MacConfiguration | MasConfiguration> {
|
||||
readonly codeSigningInfo: MemoLazy<CreateKeychainOptions | null, CodeSigningInfo>;
|
||||
private _iconPath;
|
||||
private _activePackConfig;
|
||||
readonly helper: MacTargetHelper;
|
||||
constructor(info: Packager);
|
||||
get defaultTarget(): Array<string>;
|
||||
/**
|
||||
* Get the merged configuration for a specific platform type
|
||||
*/
|
||||
private getPlatformConfig;
|
||||
expandArch(pattern: string, arch?: Arch | null): string[];
|
||||
protected prepareAppInfo(appInfo: AppInfo): AppInfo;
|
||||
getIconPath(): Promise<string | null>;
|
||||
createTargets(targets: Array<string>, mapper: (name: string, factory: (outDir: string) => Target) => void): void;
|
||||
protected doPack(outDir: string, appOutDir: string, platformName: ElectronPlatformName, arch: Arch, platformSpecificBuildOptions: MacConfiguration, targets: Array<Target>): Promise<any>;
|
||||
pack(outDir: string, arch: Arch, targets: Array<Target>, taskManager: AsyncTaskManager): Promise<any>;
|
||||
protected doPack(config: DoPackOptions<MacConfiguration>): Promise<any>;
|
||||
/**
|
||||
* Handle universal build packing
|
||||
*/
|
||||
private doUniversalPack;
|
||||
pack(outDir: string, arch: Arch, targets: Array<Target>, taskManager: AsyncTaskManager): Promise<void>;
|
||||
private packMasTargets;
|
||||
private packMacTargets;
|
||||
private signMas;
|
||||
/**
|
||||
* Main signing method with platform awareness
|
||||
*/
|
||||
private sign;
|
||||
private adjustSignOptions;
|
||||
protected doSign(opts: SignOptions): Promise<any>;
|
||||
protected doFlat(appPath: string, outFile: string, identity: Identity, keychain: string | null | undefined): Promise<any>;
|
||||
protected doSign(opts: SignOptions, customSignOptions: MacConfiguration | MasConfiguration, identity: Identity | null): Promise<void>;
|
||||
doFlat(appPath: string, outFile: string, identity: Identity, keychain: string | Nullish): Promise<any>;
|
||||
getElectronSrcDir(dist: string): string;
|
||||
getElectronDestinationDir(appOutDir: string): string;
|
||||
applyCommonInfo(appPlist: any, contentsPath: string): Promise<void>;
|
||||
protected signApp(packContext: AfterPackContext, isAsar: boolean): Promise<any>;
|
||||
protected signApp(packContext: AfterPackContext, isAsar: boolean): Promise<boolean>;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue