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

+6 -2
View File
@@ -89,8 +89,12 @@ export const ipcContract = {
output: FolderSizeSchema,
},
'install:checkPatches': {
/** The game folder to install from, and the data folder whose store tuning the build uses. */
input: z.object({ gamePath: z.string().min(1), dataPath: z.string().min(1) }),
/** The game folder to install from, optional stock source folder, and the data folder whose store tuning the build uses. */
input: z.object({
gamePath: z.string().min(1),
dataPath: z.string().min(1),
stockSourcePath: z.string().min(1).optional(),
}),
output: PatchCheckSchema,
},
'install:start': {