forked from olcxjas-softworks/LarpixClient
update electron to v43
This commit is contained in:
parent
68ac0beedf
commit
fb6c8b6ee9
5385 changed files with 513060 additions and 123058 deletions
16
electron/node_modules/app-builder-lib/out/targets/blockmap/blockmap.d.ts
generated
vendored
Normal file
16
electron/node_modules/app-builder-lib/out/targets/blockmap/blockmap.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import { BlockMapDataHolder } from "builder-util-runtime";
|
||||
export type CompressionFormat = "deflate" | "gzip";
|
||||
/**
|
||||
* Build a content-defined block map for `inFile` using Rabin fingerprinting.
|
||||
*
|
||||
* Files are processed via streaming (peak memory ≈ RABIN_MAX = 32 KB per chunk,
|
||||
* not the full file size), making this safe for large installers.
|
||||
*
|
||||
* - If `outFile` is omitted: compressed blockmap is appended to `inFile`
|
||||
* (used for NSIS web installer / AppImage embed); `blockMapSize` is returned.
|
||||
* - If `outFile` is provided: compressed blockmap is written to that file;
|
||||
* `blockMapSize` is not included in the result.
|
||||
*
|
||||
* Returned `sha512` is SHA-512 of the full file as it exists after the call.
|
||||
*/
|
||||
export declare function buildBlockMap(inFile: string, compressionFormat: CompressionFormat, outFile?: string): Promise<BlockMapDataHolder>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue