mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-16 06:44:43 -06:00
fix: list only what an emuelec image carries
The 29 port engines depend on emuelec-ports, which no package of a released image depends on, and flycast-dojo is in no device list: the targets scraper already says so (UNBUILT). The platform list and the launcher records now hold what at least one device image carries. Each system keeps the list es_systems.json gives it, which says whose files its entries ask for: VVVVVV's data.zip is still never served xrick's.
This commit is contained in:
1 parent
0aa551dba7
commit
ebba4c9c89
5 files changed
+38
-74
No files matched your search
@@ -610,7 +610,12 @@ class Scraper(BaseTargetScraper):
|
||||
return fetch_bytes(RAW.format(ref=self.ref, path=path)).decode("utf-8")
|
||||
|
||||
def fetch_targets(self) -> dict:
|
||||
self.ref = self.pinned_revision(PLATFORM_NAME)
|
||||
return self.device_targets()
|
||||
|
||||
def device_targets(self, ref: str | None = None) -> dict:
|
||||
"""The targets file, read at `ref`, by default the revision
|
||||
platforms/emuelec.yml was scraped at."""
|
||||
self.ref = ref or self.pinned_revision(PLATFORM_NAME)
|
||||
release = json.loads(
|
||||
fetch_bytes(RELEASE_API.format(ref=self.ref), headers=github_headers())
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user