mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-16 19:22:42 +08:00
18 lines
854 B
TypeScript
18 lines
854 B
TypeScript
![]() |
import { PerFileSignOptions, ValidatedSignOptions } from './types';
|
||
|
import { Identity } from './util-identities';
|
||
|
import { ProvisioningProfile } from './util-provisioning-profiles';
|
||
|
type ComputedOptions = {
|
||
|
identity: Identity;
|
||
|
provisioningProfile?: ProvisioningProfile;
|
||
|
};
|
||
|
/**
|
||
|
* This function returns a promise completing the entitlements automation: The
|
||
|
* process includes checking in `Info.plist` for `ElectronTeamID` or setting
|
||
|
* parsed value from identity, and checking in entitlements file for
|
||
|
* `com.apple.security.application-groups` or inserting new into array. A
|
||
|
* temporary entitlements file may be created to replace the input for any
|
||
|
* changes introduced.
|
||
|
*/
|
||
|
export declare function preAutoEntitlements(opts: ValidatedSignOptions, perFileOpts: PerFileSignOptions, computed: ComputedOptions): Promise<void | string>;
|
||
|
export {};
|