UNPKG

@electron/universal

Version:

Utility for creating Universal macOS applications from two x64 and arm64 Electron applications

19 lines (18 loc) 496 B
export declare enum AppFileType { MACHO = 0, PLAIN = 1, INFO_PLIST = 2, SNAPSHOT = 3, APP_CODE = 4 } export type AppFile = { relativePath: string; type: AppFileType; }; /** * * @param appPath Path to the application */ export declare const getAllAppFiles: (appPath: string) => Promise<AppFile[]>; export declare const readMachOHeader: (path: string) => Promise<Buffer<ArrayBuffer>>; export declare const fsMove: (oldPath: string, newPath: string) => Promise<void>;