Skip to content

1681-engine / electron / ShellIdOptions

Interface: ShellIdOptions ​

Defined in: src/electron/shellId.ts:6

What goes into a shell's identity besides the runtime's version.

Properties ​

dirs ​

ts
dirs: string[];

Defined in: src/electron/shellId.ts:8

Folders whose files (non-recursive) are hashed, in this order.


extra? ​

ts
optional extra?: string[];

Defined in: src/electron/shellId.ts:12

More text to fold in (an engine or framework version the main process bundles from elsewhere).


length? ​

ts
optional length?: number;

Defined in: src/electron/shellId.ts:14

Hex characters kept; default 16.


match? ​

ts
optional match?: (fileName) => boolean;

Defined in: src/electron/shellId.ts:10

Which files of each folder count; default the compiled main-process code, *.cjs.

Parameters ​

ParameterType
fileNamestring

Returns ​

boolean

Released under the MIT License.