forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
23
electron/node_modules/dmg-builder/out/dmgUtil.d.ts
generated
vendored
23
electron/node_modules/dmg-builder/out/dmgUtil.d.ts
generated
vendored
|
|
@ -1,7 +1,22 @@
|
|||
import { PlatformPackager } from "app-builder-lib";
|
||||
import { DmgOptions, MacPackager, PlatformPackager } from "app-builder-lib";
|
||||
import { TmpDir } from "builder-util";
|
||||
import type { DmgBuildLicenseConfig } from "./dmgLicense";
|
||||
export { DmgTarget } from "./dmg";
|
||||
export declare function getDmgTemplatePath(): string;
|
||||
export declare function getDmgVendorPath(): string;
|
||||
export declare function attachAndExecute(dmgPath: string, readWrite: boolean, task: () => Promise<any>): Promise<any>;
|
||||
export declare function detach(name: string): Promise<void>;
|
||||
export declare function attachAndExecute(dmgPath: string, readWrite: boolean, forceDetach: boolean, task: (devicePath: string) => Promise<any>): Promise<any>;
|
||||
export declare function detach(name: string, alwaysForce: boolean): Promise<string | null>;
|
||||
export declare function computeBackground(packager: PlatformPackager<any>): Promise<string>;
|
||||
type DmgBuilderConfig = {
|
||||
appPath: string;
|
||||
artifactPath: string;
|
||||
volumeName: string;
|
||||
specification: DmgOptions;
|
||||
packager: MacPackager;
|
||||
licenseData?: DmgBuildLicenseConfig | null;
|
||||
};
|
||||
export declare function customizeDmg({ appPath, artifactPath, volumeName, specification, packager, licenseData }: DmgBuilderConfig): Promise<boolean>;
|
||||
export declare function transformBackgroundFileIfNeed(file: string, tmpDir: TmpDir): Promise<string>;
|
||||
export declare function getImageSizeUsingSips(background: string): Promise<{
|
||||
width: number;
|
||||
height: number;
|
||||
}>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue