diff --git a/src/projector/otto.ts b/src/projector/otto.ts index 7163862..43c986b 100644 --- a/src/projector/otto.ts +++ b/src/projector/otto.ts @@ -6,6 +6,9 @@ import {fsLstatExists} from '@shockpkg/archive-files'; import {Projector} from '../projector'; import {pathRelativeBase, trimExtension} from '../util'; +/** + * Include Xtra mapping. + */ export interface IIncludeXtraMapping { /** * Source path, case insensitive. @@ -20,6 +23,9 @@ export interface IIncludeXtraMapping { dest: string | null; } +/** + * Include Xtra mapping, best match. + */ export interface IIncludeXtraMappingBest { /** * Map instance. @@ -32,6 +38,9 @@ export interface IIncludeXtraMappingBest { relative: string; } +/** + * Include Xtras. + */ export interface IIncludeXtras { [key: string]: string | null; } diff --git a/src/util/mac.ts b/src/util/mac.ts index 53e116c..14ebef5 100644 --- a/src/util/mac.ts +++ b/src/util/mac.ts @@ -11,6 +11,9 @@ const MH_CIGAM_64 = 0xcffaedfe; const CPU_TYPE_POWERPC = 0x00000012; const CPU_TYPE_I386 = 0x00000007; +/** + * Mach-O type. + */ export interface IMachoType { /** * CPU type. diff --git a/src/util/windows.ts b/src/util/windows.ts index 26b7d67..80599ca 100644 --- a/src/util/windows.ts +++ b/src/util/windows.ts @@ -19,6 +19,9 @@ const IMAGE_SCN_CNT_CODE = 0x00000020; const IMAGE_SCN_CNT_INITIALIZED_DATA = 0x00000040; const IMAGE_SCN_CNT_UNINITIALIZED_DATA = 0x00000080; +/** + * PE Resource replace config. + */ export interface IPeResourceReplace { /** * Replace icons if not null. @@ -366,6 +369,9 @@ export async function windowsLauncher( return new Uint8Array(exeData); } +/** + * Patcher patch. + */ interface IPatcherPatch { /** * The bytes to find.