summaryrefslogtreecommitdiff
path: root/desktop/node_modules/@electron/osx-sign/dist/cjs/util-provisioning-profiles.d.ts
blob: 7c9d9c399c29864dc378ecd2caaa93b773f7a532 (plain)
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
import { ElectronMacPlatform, ValidatedSignOptions } from './types';
export declare class ProvisioningProfile {
    filePath: string;
    message: any;
    constructor(filePath: string, message: any);
    get name(): string;
    get platforms(): ElectronMacPlatform[];
    get type(): "development" | "distribution";
}
/**
 * Returns a promise resolving to a ProvisioningProfile instance based on file.
 * @function
 * @param {string} filePath - Path to provisioning profile.
 * @param {string} keychain - Keychain to use when unlocking provisioning profile.
 * @returns {Promise} Promise.
 */
export declare function getProvisioningProfile(filePath: string, keychain?: string | null): Promise<ProvisioningProfile>;
/**
 * Returns a promise resolving to a list of suitable provisioning profile within the current working directory.
 */
export declare function findProvisioningProfiles(opts: ValidatedSignOptions): Promise<ProvisioningProfile[]>;
/**
 * Returns a promise embedding the provisioning profile in the app Contents folder.
 */
export declare function preEmbedProvisioningProfile(opts: ValidatedSignOptions, profile: ProvisioningProfile | null): Promise<void>;