mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-27 03:56:50 -06:00
load() ignored every failed media read, so a .deckcraft with a missing, oversized or bad-CRC media member opened silently with empty pictures, and the next Save overwrote the original with that loss. load_checked() now lists each unreadable member (linked media saved without bytes is not damage). file.open/openBytes return damagedMedia, show a message, and open the deck as an untitled "(Repaired)" copy so Save asks for a new name and the original file stays intact. Co-authored-by: Cursor <cursoragent@cursor.com>