LarpixClient/electron/node_modules/app-builder-lib/out/util/iconConverter.d.ts
olcxja fb6c8b6ee9
All checks were successful
Android Build / publish (push) Successful in 55s
Linux Build / publish (push) Successful in 1m6s
update electron to v43
2026-07-09 22:38:33 +02:00

25 lines
752 B
TypeScript

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 {};