feat(launcher): implement gated standard launch

Build the selected copy for its port, wait for the local server, and manage the game and server lifecycles. Keep standard launch disabled pending isolation verification.

Verified both type checks, the launcher build, and the launch lifecycle against a temporary copy and a stand-in executable.
This commit is contained in:
N0VAN0M4LY committed 2026-11-30 09:40:58 +08:00
1 parent 2a97b0d46c
commit c1dea23955
19 files changed
+522 -105

No files matched your search

+6
View File
@@ -40,16 +40,22 @@ export const APP_ERROR_CODES = [
'copy_location_in_use',
'launch_no_copy',
'launch_busy',
'launch_failed',
'launch_disabled',
'launch_lab_required',
'launch_lab_missing',
'launch_lab_version',
'launch_lab_failed',
'launch_game_running',
'launch_copy_in_steam',
'launch_location',
'launch_stock_version',
'launch_build_failed',
'launch_build_unavailable',
'launch_port_busy',
'launch_server_failed',
'launch_server_exited',
'launch_game_failed',
/** A folder the player chose does not exist or cannot be read (params: path). */
'folder_unreadable',
/** The chosen folder lacks the files of a War Thunder installation (params: path). */