LarpixClient/electron/node_modules/@electron/universal/dist/cjs/file-utils.d.ts
2026-07-09 22:38:33 +02:00

18 lines
432 B
TypeScript

/// <reference types="node" />
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>;