Skip to content

Interface Platform

The platform information related to current operating system.

🏷️ Properties

arch

ts
arch: string

The direct output of os.arch(). Should look like x86 or x64.

Defined in: packages/core/platform.ts:18

name

ts
name: "osx" | "linux" | "windows" | "unknown"

The system name of the platform. This name is majorly used for download.

Defined in: packages/core/platform.ts:10

version

ts
version: string

The version of the os. It should be the value of os.release().

Defined in: packages/core/platform.ts:14