Launcher release / release (push) Waiting to run
Add a quick ZIP log export button to the About page (also bundling the latest embedded browser -browser.log while excluding player saves) and add a runtime logging toggle under Settings -> Diagnostics that controls launcher file logs, local server traffic logs, and wto_ws.log via log=0 in wto_ws.cfg. Update the v0.1.2 release note accordingly.
23 lines
812 B
TypeScript
23 lines
812 B
TypeScript
import type { AppErrorCode } from '@shared/errors.ts';
|
|
|
|
export interface BuildRequest {
|
|
readonly kind: 'build';
|
|
readonly stockPath: string;
|
|
readonly copyPath: string;
|
|
readonly dataPath: string;
|
|
readonly steamLibraryConfirmed: boolean;
|
|
readonly port: number;
|
|
readonly patches: string;
|
|
readonly networkHookLibrary: string;
|
|
readonly decalCache?: string;
|
|
readonly hookLogging: boolean;
|
|
readonly acceptedUnavailable: readonly string[];
|
|
}
|
|
|
|
export type BuildCommand = BuildRequest | { readonly kind: 'write' };
|
|
export type BuildReply =
|
|
| { readonly kind: 'prepared'; readonly total: number }
|
|
| { readonly kind: 'progress'; readonly written: number; readonly total: number; readonly file: string }
|
|
| { readonly kind: 'written' }
|
|
| { readonly kind: 'failed'; readonly error: AppErrorCode };
|