UNPKG

asarmor

Version:

Protect asar archive files from extraction

9 lines (8 loc) 362 B
import { Archive } from './asar'; export type Patch = Partial<Archive>; /** * Upon extraction with `asar extract`, this patch will write empty zero-filled (0 bytes) files of the target size in chunks of `1 GB` to disk. Use at your own risk AND responsibility! * * Defaults to `100 GB`. */ export declare function createBloatPatch(gigabytes?: number): Patch;