Skip to content

@loontail/minecraft-kit v0.5.0 / detectSystem

Function: detectSystem()

ts
function detectSystem(input): RuntimeSystem

Resolve the current host system identifiers.

Parameters

ParameterType
inputDetectSystemInput

Returns

RuntimeSystem

Throws

MinecraftKitError with code RUNTIME_UNSUPPORTED_PLATFORM when the platform/arch combination is not understood.

Source

src/core/system.ts:19

MIT License