15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import { Arch } from "builder-util";
import { PublishConfiguration } from "builder-util-runtime";
import { Configuration } from "./configuration";
import { Platform, Target } from "./core";
import { Packager } from "./packager";
import { PlatformPackager } from "./platformPackager";
import { UploadTask } from "electron-publish";
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;
}