feat: add support for auto-merging ElectronAsarIntegrity values

This commit is contained in:
Samuel Attard
2021-09-15 12:50:03 -07:00
parent fe8d99e31d
commit 36b58a84f3
5 changed files with 97 additions and 16 deletions

View File

@@ -7,6 +7,7 @@ const MACHO_PREFIX = 'Mach-O ';
export enum AppFileType {
MACHO,
PLAIN,
INFO_PLIST,
SNAPSHOT,
APP_CODE,
}
@@ -50,6 +51,8 @@ export const getAllAppFiles = async (appPath: string): Promise<AppFile[]> => {
fileType = AppFileType.MACHO;
} else if (p.endsWith('.bin')) {
fileType = AppFileType.SNAPSHOT;
} else if (path.basename(p) === 'Info.plist') {
fileType = AppFileType.INFO_PLIST;
}
files.push({