Skip to content

app builder lib.Class.Platform

Electron-Builder / app-builder-lib / Platform

Constructors

new Platform()

new Platform(name, buildConfigurationKey, nodeName): Platform

Parameters

name: string

buildConfigurationKey: string

nodeName: Platform

Returns

Platform

Properties

buildConfigurationKey

buildConfigurationKey: string


name

name: string


nodeName

nodeName: Platform


LINUX

static LINUX: Platform


MAC

static MAC: Platform


WINDOWS

static WINDOWS: Platform

Methods

createTarget()

createTarget(type?, …archs?): Map<Platform, Map<Arch, string[]>>

Parameters

type?: null | string | string[]

• …archs?: Arch[]

Returns

Map<Platform, Map<Arch, string[]>>


toString()

toString(): string

Returns

string


current()

static current(): Platform

Returns

Platform


fromString()

static fromString(name): Platform

Parameters

name: string

Returns

Platform