diff --git a/docs_assets/logos/bizhawk.webp b/docs_assets/logos/bizhawk.webp index da5ad034..3f67c8e1 100644 Binary files a/docs_assets/logos/bizhawk.webp and b/docs_assets/logos/bizhawk.webp differ diff --git a/docs_assets/logos/minui.webp b/docs_assets/logos/minui.webp deleted file mode 100644 index 94ea7981..00000000 Binary files a/docs_assets/logos/minui.webp and /dev/null differ diff --git a/docs_assets/logos/sources.json b/docs_assets/logos/sources.json index c5a3f527..a0a9debe 100644 --- a/docs_assets/logos/sources.json +++ b/docs_assets/logos/sources.json @@ -18,7 +18,7 @@ { "file": "bizhawk.webp", "platform": "bizhawk", - "source": "https://avatars.githubusercontent.com/u/11743303", + "source": "https://raw.githubusercontent.com/TASEmulators/BizHawk/master/src/BizHawk.Client.EmuHawk/images/logo.ico", "owner": "TASVideos", "licence": "GitHub organisation avatar of TASEmulators" }, @@ -50,13 +50,6 @@ "owner": "Lakka (libretro)", "licence": "file from libretro/retroarch-assets, CC-BY-4.0" }, - { - "file": "minui.webp", - "platform": "minui", - "source": "https://avatars.githubusercontent.com/u/225589", - "owner": "Shaun Inman", - "licence": "GitHub avatar of shauninman, the author of MinUI" - }, { "file": "misterfpga.webp", "platform": "misterfpga", diff --git a/platforms/_registry.yml b/platforms/_registry.yml index cb9d2d9a..2aa129a0 100644 --- a/platforms/_registry.yml +++ b/platforms/_registry.yml @@ -999,7 +999,8 @@ platforms: status: active device_group: computer extract_to: Firmware/ - logo: https://avatars.githubusercontent.com/u/11743303 + # EmuHawk's application icon ( in BizHawk.Client.EmuHawk.csproj). + logo: https://raw.githubusercontent.com/TASEmulators/BizHawk/master/src/BizHawk.Client.EmuHawk/images/logo.ico scraper: bizhawk source_url: https://raw.githubusercontent.com/TASEmulators/BizHawk/master/src/BizHawk.Emulation.Common/Database/FirmwareDatabase.cs source_format: csharp_firmware_database @@ -1064,7 +1065,6 @@ platforms: # The card root: minarch hands each core SDCARD_PATH/Bios/ # (workspace/all/minarch/minarch.c:2943). extract_to: / - logo: https://avatars.githubusercontent.com/u/225589 scraper: minui # minarch hands each core a folder and names no file (workspace/all/minarch/minarch.c:2943): # there is no BIOS list of its own to export corrected. diff --git a/scripts/fetch_site_images.py b/scripts/fetch_site_images.py index 740eff63..8da5e1c9 100644 --- a/scripts/fetch_site_images.py +++ b/scripts/fetch_site_images.py @@ -139,6 +139,10 @@ def fetch_logos() -> None: for name, entry in sorted(platforms.items()): url = entry.get("logo") if not url: + # No logo of its own: the tile shows initials, and an old copy + # would still be served. + for stale in LOGO_DIR.glob(f"{name}.*"): + stale.unlink() continue download = f"{url}?s={LOGO_SIZE * 2}" if AVATAR_HOST in url else url data = fetch(download)