Update tools & use wibo for macOS (no more wine-crossover)

This commit is contained in:
2025-11-11 15:22:02 -07:00
parent 755d8c109f
commit f225a1ba65
5 changed files with 23 additions and 35 deletions

View File

@@ -78,8 +78,14 @@ def sjiswrap_url(tag: str) -> str:
def wibo_url(tag: str) -> str:
uname = platform.uname()
arch = uname.machine.lower()
system = uname.system.lower()
if system == "darwin":
arch = "macos"
repo = "https://github.com/decompals/wibo"
return f"{repo}/releases/download/{tag}/wibo"
return f"{repo}/releases/download/{tag}/wibo-{arch}"
TOOLS: Dict[str, Callable[[str], str]] = {