mirror of
https://github.com/ModOrganizer2/mob.git
synced 2026-07-27 14:07:05 -07:00
Added -products argument to vswhere
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
$installationPath = .\third-party\bin\vswhere.exe -nologo -prerelease -latest -property installationPath
|
||||
$installationPath = .\third-party\bin\vswhere.exe -products * -nologo -prerelease -latest -property installationPath
|
||||
if (! $?) {
|
||||
Write-Error "vswhere returned $LastExitCode"
|
||||
exit $LastExitCode
|
||||
|
||||
@@ -592,6 +592,7 @@ fs::path find_vs()
|
||||
|
||||
auto p = process()
|
||||
.binary(vs::vswhere())
|
||||
.arg("-products", "*")
|
||||
.arg("-prerelease")
|
||||
.arg("-version", vs::version())
|
||||
.arg("-property", "installationPath")
|
||||
|
||||
Reference in New Issue
Block a user