mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-23 20:29:06 -05:00
minarch hands every core SDCARD_PATH/Bios/<TAG> as its system directory and opens no file in it. The scrapers read each pak's launch.sh (core, tag, devices), each device's core makefile (the project a library is built from: MyMinUI's dosbox_libretro.so is dosbox-pure) and the minarch statement, at a pinned commit. The installer recognises the card from .system/version.txt and refuses a folder inside it.
31 lines
617 B
Python
31 lines
617 B
Python
#!/usr/bin/env python3
|
|
"""Scraper for MyMinUI's pak list: the MinUI scraper on MyMinUI's repository."""
|
|
|
|
from __future__ import annotations
|
|
|
|
try:
|
|
from . import minui_scraper
|
|
except ImportError:
|
|
import minui_scraper
|
|
|
|
PLATFORM_NAME = "myminui"
|
|
|
|
|
|
class Scraper(minui_scraper.Scraper):
|
|
"""Pak scraper for MyMinUI."""
|
|
|
|
variant = minui_scraper.VARIANTS["myminui"]
|
|
|
|
|
|
def main() -> None:
|
|
try:
|
|
from .base_scraper import scraper_cli
|
|
except ImportError:
|
|
from base_scraper import scraper_cli
|
|
|
|
scraper_cli(Scraper, "Scrape the MyMinUI pak list")
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|