feat(launcher): prompt for stock source when adding patched client without backup

This commit is contained in:
N0VAN0M4LY committed 2026-11-30 20:59:38 +08:00
1 parent 39228c6e75
commit bfedc3d27e
13 files changed
+195 -41

No files matched your search

+4
View File
@@ -69,6 +69,10 @@ export const APP_ERROR_CODES = [
'folder_unreadable',
/** The chosen folder lacks the files of a War Thunder installation (params: path). */
'not_a_game_folder',
/** A patched client lacking wtoffline/stock needs an unpatched original game folder. */
'stock_source_invalid',
/** The chosen original game folder has a different version than the patched client. */
'stock_source_version_mismatch',
/** The folder chosen for the copy cannot take it (params: problem, one of TARGET_PROBLEMS). */
'target_not_usable',
/** A copy or data folder is inside a Steam library and the player has not confirmed the warning. */