asar-integrity
Version:
Compute checksums of `asar` files.
15 lines (14 loc) • 404 B
TypeScript
export interface AsarIntegrityOptions {
/**
* Allows external asar files.
*
* @default false
*/
readonly externalAllowed?: boolean;
}
export interface AsarIntegrity extends AsarIntegrityOptions {
checksums: {
[key: string]: string;
};
}
export declare function computeData(resourcesPath: string, options?: AsarIntegrityOptions | null): Promise<AsarIntegrity>;