update electron to v43

This commit is contained in:
olcxja 2026-07-09 22:38:33 +02:00
commit fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions

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