update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
25
electron/node_modules/app-builder-lib/out/util/iconConverter.d.ts
generated
vendored
Normal file
25
electron/node_modules/app-builder-lib/out/util/iconConverter.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
export interface IconInfo {
|
||||
file: string;
|
||||
size: number;
|
||||
}
|
||||
export type IconFormat = "icns" | "ico" | "set";
|
||||
export interface IconConvertResult {
|
||||
icons: IconInfo[];
|
||||
isFallback: boolean;
|
||||
error?: string;
|
||||
errorCode?: string;
|
||||
}
|
||||
type IconConversionConfig = {
|
||||
sources: string[];
|
||||
fallbackSources: string[];
|
||||
roots: string[];
|
||||
format: IconFormat;
|
||||
outDir: string;
|
||||
};
|
||||
export declare function convertIcon({ sources, fallbackSources, roots, format, outDir }: IconConversionConfig): Promise<IconConvertResult>;
|
||||
export declare function getPngSize(filePath: string): Promise<{
|
||||
width: number;
|
||||
height: number;
|
||||
}>;
|
||||
export declare function buildSourceCandidates(sources: string[], format: IconFormat): string[];
|
||||
export {};
|
||||
Loading…
Add table
Add a link
Reference in a new issue