Initial commit

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
dinlo
2026-05-31 18:44:04 +08:00
commit 436a9631fc
8616 changed files with 1389957 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import { Arch } from "builder-util";
import { PublishConfiguration } from "builder-util-runtime";
import { UploadTask } from "electron-publish";
import { Configuration } from "./configuration";
import { Platform, Target } from "./core";
import { Packager } from "./packager";
import { PlatformPackager } from "./platformPackager";
export interface PackagerOptions {
targets?: Map<Platform, Map<Arch, Array<string>>>;
mac?: Array<string>;
linux?: Array<string>;
win?: Array<string>;
projectDir?: string | null;
platformPackagerFactory?: ((info: Packager, platform: Platform) => PlatformPackager<any>) | null;
readonly config?: Configuration | string | null;
readonly effectiveOptionComputed?: (options: any) => Promise<boolean>;
readonly prepackaged?: string | null;
}
export interface ArtifactCreated extends UploadTask {
readonly packager: PlatformPackager<any>;
readonly target: Target | null;
updateInfo?: any;
readonly safeArtifactName?: string | null;
readonly publishConfig?: PublishConfiguration | null;
readonly isWriteUpdateInfo?: boolean;
}
export interface ArtifactBuildStarted {
readonly targetPresentableName: string;
readonly file: string;
readonly arch: Arch | null;
}