fix(plugin): discover Steam Game Mode screenshots + safe preview fallback

This commit is contained in:
2026-07-13 04:54:17 +08:00
parent 5759fdbafd
commit 0018673747
3 changed files with 118 additions and 17 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ export const uploadToDeckyvault = callable<[
status?: number
}>("upload_to_deckyvault")
export const listScreenshots = callable<[limit?: number], {
screenshots: Array<{ path: string; name: string; mtime: number; size: number }>
export const listScreenshots = callable<[limit?: number, appId?: number], {
screenshots: Array<{ path: string; name: string; mtime: number; size: number; appId: number | null }>
error?: string
}>("list_screenshots")