mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 02:51:10 +00:00
GOG lists every cloud object as <location name>/<path>. The location name is not part of the local folder, so Silksong's saves/user1.dat belongs at default/user1.dat, not default/saves/user1.dat. Strip the segment for local paths and add it back for HEAD/GET/PUT, cache the location name, and migrate files written by the old layout without touching files the game wrote. Co-authored-by: xXJsonDeruloXx <danielhimebauch@gmail.com> Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>