feat(launcher): launch the game through the guarded lab
This commit is contained in:
1 parent
d633280e23
commit
e41b73aaa3
25 files changed
+920
-23
No files matched your search
@@ -0,0 +1,19 @@
|
||||
import type { AppErrorCode } from '@shared/errors.ts';
|
||||
|
||||
export interface BuildRequest {
|
||||
readonly kind: 'build';
|
||||
readonly stockPath: string;
|
||||
readonly copyPath: string;
|
||||
readonly dataPath: string;
|
||||
readonly port: number;
|
||||
readonly patches: string;
|
||||
readonly networkHookLibrary: string;
|
||||
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 };
|
||||
Reference in new issue
Block a user