feat(launcher): detect missing client folders and support relocating while keeping saves

This commit is contained in:
N0VAN0M4LY committed 2026-11-30 21:32:17 +08:00
1 parent 2820d40d87
commit a0515c4ed3
12 files changed
+199 -20

No files matched your search

+4
View File
@@ -132,6 +132,10 @@ export const ipcContract = {
input: z.object({ id: CopyIdSchema, name: CopyNameSchema }),
output: CopiesSchema,
},
'copies:relocate': {
input: z.object({ id: CopyIdSchema, path: z.string().min(1) }),
output: CopiesSchema,
},
'copies:setDecalSource': {
input: z.object({ id: CopyIdSchema, path: z.string().min(1).nullable() }),
output: CopiesSchema,