icinga-powershell-framework icon indicating copy to clipboard operation
icinga-powershell-framework copied to clipboard

Properly detect OS arch (not current shell arch)

Open Al2Klimov opened this issue 1 year ago • 0 comments

[IntPtr]::Size depends on the PS exe arch, but there's also an x86 one on x64. But Env:ProgramFiles(x86) is always defined on an x64 OS.

https://stackoverflow.com/a/61396489

fixes #705

Al2Klimov avatar Jul 04 '24 13:07 Al2Klimov