fix: place hashless files by their own system

The wanted list puts firmware first, then game data, labels each row, and leaves out what no one can share (the profile's reason: user written, emulator written, per person). validate_pr.placement() takes a file known by name alone to its system's folder or the directory it declares, never beside a homonym held for another system.
This commit is contained in:
Abdessamad Derraz committed 2026-11-13 18:34:13 +01:00
1 parent 3fd61df038
commit b3a5109955
6 files changed
+386 -67

No files matched your search

+3 -1
View File
@@ -69,7 +69,9 @@ const version = wantedVersion();
const head = element('p', code(entry.n), ' ');
const need = element('span', entry.r ? 'Required' : 'Optional');
need.className = `rb-badge ${entry.r ? 'rb-badge-warning' : 'rb-badge-muted'}`;
head.append(need);
const kind = element('span', entry.g ? 'Game data' : 'Firmware');
kind.className = 'rb-badge rb-badge-info';
head.append(need, ' ', kind);
if (entry.z?.length) head.append(` ${entry.z.map(size).join(' or ')}`);
head.className = 'rb-wanted-row-head';
const item = element('li', head);