mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 04:39:01 +08:00
17 lines
208 B
PowerShell
17 lines
208 B
PowerShell
[CmdletBinding()]
|
|
param(
|
|
|
|
)
|
|
|
|
$out = ${env:ProgramW6432}
|
|
if ($out -eq $null)
|
|
{
|
|
$out = ${env:PROGRAMFILES}
|
|
}
|
|
|
|
if ($out -eq $null)
|
|
{
|
|
throw "Could not find [Program Files Platform Bitness]"
|
|
}
|
|
|
|
return $out |