clan-app: fix x86_64-darwin build

This commit is contained in:
Jörg Thalheim
2025-07-18 16:06:05 +02:00
parent 0621ae1ca6
commit d97f997349
2 changed files with 22 additions and 17 deletions

View File

@@ -29,10 +29,7 @@ def _get_lib_names() -> list[str]:
msg = f"Unsupported architecture: {machine}"
raise RuntimeError(msg)
if system == "darwin":
if machine == "arm64":
return ["libwebview.dylib"]
msg = "Not supported"
raise RuntimeError(msg)
return ["libwebview.dylib"]
# linux
return ["libwebview.so"]