electron builder.Class.Platform
Electron-Builder / electron-builder / Platform
构造函数¶
new Platform()¶
new Platform(
name,buildConfigurationKey,nodeName):Platform
参数¶
• name: string
• buildConfigurationKey: string
• nodeName: Platform
返回值¶
属性¶
buildConfigurationKey¶
buildConfigurationKey:
string
名称¶
name:
string
nodeName¶
nodeName:
Platform
LINUX¶
staticLINUX:Platform
MAC¶
staticMAC:Platform
WINDOWS¶
staticWINDOWS:Platform
方法¶
createTarget()¶
createTarget(
type?, …archs?):Map<Platform,Map<Arch,string[]>>
参数¶
• type?: null | string | string[]
• …archs?: Arch[]
返回值¶
Map<Platform, Map<Arch, string[]>>
toString()¶
toString():
string
返回值¶
string
current()¶
staticcurrent():Platform
返回值¶
fromString()¶
staticfromString(name):Platform
参数¶
• name: string