xlicore
Version:
Currently only used for my own launcher, proper docs will come later (hopefully).
24 lines (23 loc) • 838 B
TypeScript
import { ChildProcessWithoutNullStreams } from 'child_process';
import { Downloader } from './utils/downloader.js';
import type { GameLaunchArguments, LaunchOpts } from './types/Launch.ts';
import type { FabricLauncherMeta } from './types/meta/fabric/FabricLauncherMeta.ts';
import type { VersionManifest } from './types/meta/minecraft/VersionManifest.ts';
export declare class Launch {
dl: Downloader;
opts: LaunchOpts;
versionManifest: VersionManifest;
fabricMeta: FabricLauncherMeta;
arguments: GameLaunchArguments;
classpath: string[];
javaExePath: string;
assetPath: string;
instancePath: string;
authlibInjectorPath: string | null;
constructor(opts: LaunchOpts);
/**
* returns subprocess
*/
start(): Promise<ChildProcessWithoutNullStreams>;
private createProcess;
}