forked from olcxjas-softworks/LarpixClient
Update gitignore (sorry)
This commit is contained in:
parent
a8f8c4d7ad
commit
cca8b02fea
6604 changed files with 1219661 additions and 4 deletions
29
electron/node_modules/app-builder-lib/out/asar/asar.d.ts
generated
vendored
Normal file
29
electron/node_modules/app-builder-lib/out/asar/asar.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/// <reference types="node" />
|
||||
import { Stats } from "fs-extra";
|
||||
export interface ReadAsarHeader {
|
||||
readonly header: string;
|
||||
readonly size: number;
|
||||
}
|
||||
export interface NodeIntegrity {
|
||||
algorithm: "SHA256";
|
||||
hash: string;
|
||||
blockSize: number;
|
||||
blocks: Array<string>;
|
||||
}
|
||||
export declare class AsarFilesystem {
|
||||
readonly src: string;
|
||||
readonly header: Node;
|
||||
readonly headerSize: number;
|
||||
private offset;
|
||||
constructor(src: string, header?: Node, headerSize?: number);
|
||||
searchNodeFromDirectory(p: string, isCreate: boolean): Node | null;
|
||||
getOrCreateNode(p: string): Node;
|
||||
addFileNode(file: string, dirNode: Node, size: number, unpacked: boolean, stat: Stats, integrity?: NodeIntegrity): Node;
|
||||
getNode(p: string): Node | null;
|
||||
getFile(p: string, followLinks?: boolean): Node;
|
||||
readJson(file: string): Promise<any>;
|
||||
readFile(file: string): Promise<Buffer>;
|
||||
}
|
||||
export declare function readAsarHeader(archive: string): Promise<ReadAsarHeader>;
|
||||
export declare function readAsar(archive: string): Promise<AsarFilesystem>;
|
||||
export declare function readAsarJson(archive: string, file: string): Promise<any>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue