Run powershell.exe -Command 'echo $env:OS' to determine if the current platform is likely to be Windows.
Not 100% accurate. If a Mac or Linux somehow has powershell.exe in PATH, this will return true.
Returns Promise<boolean>
Whether the current platform is likely to be Windows.
Run powershell.exe -Command 'echo $env:OS' to determine if the current platform is likely to be Windows. Not 100% accurate. If a Mac or Linux somehow has powershell.exe in PATH, this will return true.