Skip to content

Commit b8ce9f7

Browse files
authored
[v3] fix(windows): static builds vswhere.exe -product * (crazywhalecc#1149)
2 parents 6772403 + 049ecfe commit b8ce9f7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/StaticPHP/Util/System/WindowsUtil.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public static function findVisualStudio(): array|false
5454
}
5555
$args = [
5656
'-latest',
57+
'-products', '*',
5758
'-format', 'json',
5859
'-requires', 'Microsoft.VisualStudio.Component.VC.Tools.x86.x64',
5960
];

0 commit comments

Comments
 (0)