Skip to content

Commit 57ae9ad

Browse files
committed
Fix platform names.
1 parent 65d9c31 commit 57ae9ad

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cachebin/recipies.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ def process_map(map: dict[str, str], key_description: str, key: str) -> str:
1414
get_platform_string=lambda system, architecture: process_map(
1515
{
1616
"darwin-x86_64": "x86_64-macOS",
17-
"darwin-aarch64": "arm64-macOS",
17+
"darwin-arm64": "arm64-macOS",
1818
"linux-x86_64": "linux-amd64",
1919
"linux-aarch64": "linux-arm64",
20-
"windows-x86_64": "windows-x86_64",
20+
"windows-amd64": "windows-x86_64",
2121
},
2222
"platform",
2323
f"{system}-{architecture}",
@@ -40,9 +40,9 @@ def process_map(map: dict[str, str], key_description: str, key: str) -> str:
4040
get_platform_string=lambda system, architecture: process_map(
4141
{
4242
"darwin-x86_64": "macOS-X64",
43-
"darwin-aarch64": "macOS-ARM64",
43+
"darwin-arm64": "macOS-ARM64",
4444
"linux-x86_64": "Linux-X64",
45-
"windows-x86_64": "Windows-X64",
45+
"windows-amd64": "Windows-X64",
4646
},
4747
"platform",
4848
f"{system}-{architecture}",

0 commit comments

Comments
 (0)