electron publish.Class.Publisher
Electron-Builder / electron-publish / Publisher
Extended by¶
Constructors¶
new Publisher()¶
protected
new Publisher(context
):Publisher
Parameters¶
• context: PublishContext
Returns¶
Properties¶
context¶
protected
readonly
context:PublishContext
Accessors¶
providerName¶
get
abstract
providerName():PublishProvider
Returns¶
Methods¶
createProgressBar()¶
protected
createProgressBar(fileName
,size
):null
|ProgressBar
Parameters¶
• fileName: string
• size: number
Returns¶
null
| ProgressBar
createReadStreamAndProgressBar()¶
protected
createReadStreamAndProgressBar(file
,fileStat
,progressBar
,reject
):ReadableStream
Parameters¶
• file: string
• fileStat: Stats
• progressBar: null
| ProgressBar
• reject
Returns¶
ReadableStream
toString()¶
abstract
toString():string
Returns¶
string
upload()¶
abstract
upload(task
):Promise
<any
>
Parameters¶
• task: UploadTask
Returns¶
Promise
<any
>