mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
Every grid-<slot> record held only a file signature, not which grid folder it came from. After switching accounts or reinstalling the runtime, the new, empty grid folder looked like the user removed every image in Steam, and all chosen art was deleted. The grid folder now carries a random id and records store it; a record from another folder counts as a first look, so the choice is placed again. fix: never accept a record made with the fallback grid id CodeRabbit: when the grid id could not be read or written, "?" was stored in records and a later "?" matched it, so an empty grid could still delete local art. Records now never match the fallback id, and a blank .droiddeck-grid file is replaced instead of blocking the rename. Co-authored-by: ovurrsl <ovurrsl@users.noreply.github.com> Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>