OSInfo

constructor(os: Platform.OS, arch: Platform.ARCH)(source)

Parameters

os

the basic OS info, whether it is OS.LINUX, OS.MACOSX or OS.WINDOWS and it's name.

arch

the Arch info, whether it is ARCH.AMD64, ARCH.I386, ARCH.ARM64 or ARCH.ARM and it's name