chore: bizhawk app icon, minui initials

BizHawk's tile takes EmuHawk's application icon (ApplicationIcon in its csproj) instead of an account avatar. MinUI has no logo of its own: its entry and copy go, and fetch_site_images.py now removes the copy of a platform without a logo.
This commit is contained in:
Abdessamad Derraz committed 2026-10-23 20:04:12 +02:00
1 parent 6f958382b7
commit 59285292c3
5 files changed
+7 -10

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

+1 -8
View File
@@ -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",
+2 -2
View File
@@ -999,7 +999,8 @@ platforms:
status: active
device_group: computer
extract_to: Firmware/
logo: https://avatars.githubusercontent.com/u/11743303
# EmuHawk's application icon (<ApplicationIcon> 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/<TAG>
# (workspace/all/minarch/minarch.c:2943).
extract_to: <SD card>/
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.
+4
View File
@@ -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)