feat(launcher): auto-detect decal cache from selected or recorded game folder
Extend resolvePlayerDecalCacheFolder to resolve <game>/cache/content when the player picks a game root folder directly. Add read-only decals:detectSource IPC so the install wizard auto-fills a detected decal cache from the chosen source (with one-click reset to placeholders) and the client details view offers one-click import from the recorded online sourcePath.
This commit is contained in:
1 parent
49264b0326
commit
c3cf4e3707
12 files changed
+196
-31
No files matched your search
@@ -170,6 +170,11 @@ export const ipcContract = {
|
||||
input: z.void(),
|
||||
output: z.void(),
|
||||
},
|
||||
'decals:detectSource': {
|
||||
/** Read-only check for a usable decal cache inside a player-chosen or registered folder. */
|
||||
input: z.object({ path: z.string().min(1) }),
|
||||
output: z.object({ path: z.string().nullable() }),
|
||||
},
|
||||
'saves:list': {
|
||||
input: z.object({ copyId: CopyIdSchema }),
|
||||
output: SaveListSchema,
|
||||
|
||||
Reference in new issue
Block a user