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

@ -1,9 +1,29 @@
import { PlatformSpecificBuildOptions } from "./index";
import { Filter } from "builder-util";
import { Minimatch } from "minimatch";
import { Configuration, PlatformSpecificBuildOptions } from "./index";
export declare const excludedNames: string;
export declare const excludedExts = "iml,hprof,orig,pyc,pyo,rbc,swp,csproj,sln,suo,xproj,cc,d.ts";
export declare const excludedExts: string;
export declare class FileMatcher {
readonly macroExpander: (pattern: string) => string;
readonly from: string;
readonly to: string;
readonly patterns: Array<string>;
excludePatterns: Array<Minimatch> | null;
readonly isSpecifiedAsEmptyArray: boolean;
constructor(from: string, to: string, macroExpander: (pattern: string) => string, patterns?: Array<string> | string | null);
normalizePattern(pattern: string): string;
addPattern(pattern: string): void;
prependPattern(pattern: string): void;
isEmpty(): boolean;
containsOnlyIgnore(): boolean;
computeParsedPatterns(result: Array<Minimatch>, fromDir?: string): void;
createFilter(): Filter;
toString(): string;
}
export interface GetFileMatchersOptions {
readonly macroExpander: (pattern: string) => string;
readonly customBuildOptions: PlatformSpecificBuildOptions;
readonly globalOutDir: string;
readonly defaultSrc: string;
}
export declare function getFileMatchers(config: Configuration, name: "files" | "extraFiles" | "extraResources" | "asarUnpack" | "extraDistFiles", defaultDestination: string, options: GetFileMatchersOptions): Array<FileMatcher> | null;