Skip to content

Commit 7e1ad02

Browse files
committed
Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL May not be needed for ARM64
1 parent 77aa35a commit 7e1ad02

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/install-vs-components.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
text=True,
2222
shell=True,
2323
).strip()
24-
components_to_add = ["Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL"] + (
25-
["Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM64"]
26-
* (platform.machine() == "ARM64")
27-
)
28-
24+
components_to_add = [
25+
"Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL.ARM64"
26+
if platform.machine() == "ARM64"
27+
else "Microsoft.VisualStudio.Component.VC.14.29.16.11.ATL"
28+
]
2929
args = (
3030
"vs_installer.exe",
3131
"modify",

0 commit comments

Comments
 (0)