Add support for the RetroPie folder structure when building Collections (#88)

* Moved Bios info to the root of the platform map, started adding more content to the platform map to support collection naming options

* Major updates to the PlatformMap.json

* Added support for RetroPie directory structures and adding relevant BIOS files
This commit is contained in:
Michael Green
2023-09-07 15:55:41 +10:00
committed by GitHub
parent bd7124a5be
commit 7da17b91a0
8 changed files with 836 additions and 202 deletions

View File

@@ -36,9 +36,17 @@
if (result[i].available == true) {
availableText.innerHTML = 'Available';
availableText.className = 'greentext';
biosFilename = document.createElement('a');
biosFilename.href = '/api/v1/Bios/' + result[i].platformid + '/' + result[i].filename;
biosFilename.innerHTML = result[i].filename;
biosFilename.className = 'romlink';
} else {
availableText.innerHTML = 'Unavailable';
availableText.className = 'redtext';
biosFilename = document.createElement('span');
biosFilename.innerHTML = result[i].filename;
}
var newRow = [