drop/desktop/main/components/GameOptions
wdunn001 c86b122101 desktop: wire the orphaned cloud_saves crate to the server saves API + a Saves tab
cloud_saves was a real, working crate (tar+zstd archive build/extract,
per-platform save-path translation) that was never reachable from the app:
a workspace member but not a drop-app dependency, no Tauri commands, no UI.
Adds six commands (cloud_saves_commands.rs) covering slot list/create/delete
against the server's existing /api/v1/client/saves/* routes (which the
client's handshake already declares the cloudSaves capability for -- see
remote/src/auth.rs) plus push/pull of an archive, and a Saves tab in the
game options modal to drive them.

One thing this does NOT do, because there is nothing to wire it to:
cloud_saves::resolver + BackupManager/CloudSaveMetadata/GameFile expect an
auto-detected, Ludusavi-style per-game save-file manifest
(CloudSaveMetadata.files), but nothing in Drop produces that manifest --
not the GameVersion Prisma model, not any admin UI, not any API response.
So push/pull here archive a directory the user picks explicitly rather than
auto-locating save files. The archive format (tar under a "data/" prefix,
zstd-compressed) stays compatible with what cloud_saves::resolver writes,
so a future manifest-driven auto-detect pass can still read what gets
pushed today.

Also: Drop's saves API only exposes a push (upload) route server-side, no
saves-specific download -- pull reuses the same authenticated
/api/v1/client/object/{id} route the client already uses for depot/image
assets, fetching the most recent entry in a slot's historyObjectIds.
2026-08-01 23:33:43 -04:00
..
HandlerSelector.vue Fix v0.4.0 process handler, add override menu (#430) 2026-06-21 15:24:33 +10:00
Launch.vue Fix v0.4.0 process handler, add override menu (#430) 2026-06-21 15:24:33 +10:00
ProtonSelector.vue Fix options modal and launcher on Windows (#189) 2026-02-26 12:59:29 +11:00
Saves.vue desktop: wire the orphaned cloud_saves crate to the server saves API + a Saves tab 2026-08-01 23:33:43 -04:00
Updates.vue Game updates (#187) 2026-02-25 23:27:30 +11:00