mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 01:09:07 +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 |