Skip to content

Commit

Permalink
get correct release name? for osx/darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
PyryM committed Jan 12, 2024
1 parent 6df337a commit fb4109e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codegen/fetch_wgpu_bins.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def fix_name(name):

SYSNAME = uname().system.lower()
IS_WINDOWS = SYSNAME == "windows" or ("microsoft" in uname().release.lower())
OS = "windows" if IS_WINDOWS else SYSNAME
OS = fix_name("windows" if IS_WINDOWS else SYSNAME)
ARCH = fix_name(uname().machine.lower())
URL = f"{BASE_URL}v{VERSION}/wgpu-{OS}-{ARCH}-release.zip"

Expand Down

0 comments on commit fb4109e

Please sign in to comment.