mirror of
https://github.com/rommapp/romm.git
synced 2026-10-12 02:21:58 +00:00
* fix(scan): keep an uploaded manual when the rom had no scraped one Update, unmatched and hashes scans pin a stored manual url, but a manual uploaded to a rom without a scraped url has nothing to pin. The provider's url then won, differed from the empty stored one, and its download overwrote the upload at the shared manual path. A locked manual, or one on disk with no source url, now keeps its empty url through the scan. Fixes #4101 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> * fix(scan): drop a scraped manual's path on unmatch, test the download stage Addresses Greptile's review on #5030: - Unmatch cleared url_manual but kept path_manual, so the next scan read the old scraped manual as an upload and never fetched the new match's one. It now clears path_manual too, unless url_manual is locked (an upload). - Trim the url_manual comment to two lines. - Carry the scan result through download_rom_resources in the upload test and check the manual is never stored over. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>