mirror of
https://gitee.com/myxzgzs/boyue_jnpf.git
synced 2025-08-11 08:42:42 +08:00
17 lines
550 B
TypeScript
17 lines
550 B
TypeScript
export declare enum AsarMode {
|
|
NO_ASAR = 0,
|
|
HAS_ASAR = 1
|
|
}
|
|
export declare type MergeASARsOptions = {
|
|
x64AsarPath: string;
|
|
arm64AsarPath: string;
|
|
outputAsarPath: string;
|
|
singleArchFiles?: string;
|
|
};
|
|
export declare const detectAsarMode: (appPath: string) => Promise<AsarMode>;
|
|
export declare const generateAsarIntegrity: (asarPath: string) => {
|
|
algorithm: "SHA256";
|
|
hash: string;
|
|
};
|
|
export declare const mergeASARs: ({ x64AsarPath, arm64AsarPath, outputAsarPath, singleArchFiles, }: MergeASARsOptions) => Promise<void>;
|