mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 06:03:32 +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 |