mirror of
https://github.com/encounter/dtk-template.git
synced 2025-12-18 17:35:24 +00:00
Update tools & use wibo for macOS (no more wine-crossover)
This commit is contained in:
@@ -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]] = {
|
||||
|
||||
Reference in New Issue
Block a user