feat(launcher): verify launch files and log post-exit diagnostics

Check that win64/aces.exe, wto_ws.dll, and wto_ws.cfg exist and are readable immediately before spawning the game, surfacing a dedicated error when security software removes them. On unexpected non-zero exits, log a compact read-only snapshot of hook file presence, wto_ws.log tail lines, and newly created .game_logs entries.

Checked: root typecheck, launcher typecheck, and zh-CN/en locale key parity.
This commit is contained in:
N0VAN0M4LY committed 2026-12-02 07:18:27 +08:00
1 parent cab73f92f9
commit 1c6f5c9fc4
4 files changed
+121 -3

No files matched your search

+2
View File
@@ -65,6 +65,8 @@ export const APP_ERROR_CODES = [
'launch_server_failed',
'launch_server_exited',
'launch_game_failed',
/** Core files built for the launch (aces.exe, wto_ws.dll, wto_ws.cfg) are missing or unreadable. */
'launch_game_files_missing',
/** 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). */