electron publish.Class.SnapStorePublisher
Electron-Builder / electron-publish / SnapStorePublisher
Extends¶
Constructors¶
new SnapStorePublisher()¶
new SnapStorePublisher(
context
,options
):SnapStorePublisher
Parameters¶
• context: PublishContext
• options: SnapStoreOptions
Returns¶
Overrides¶
Properties¶
context¶
protected
readonly
context:PublishContext
Inherited from¶
providerName¶
readonly
providerName:"snapStore"
="snapStore"
Overrides¶
Methods¶
createProgressBar()¶
protected
createProgressBar(fileName
,size
):null
|ProgressBar
Parameters¶
• fileName: string
• size: number
Returns¶
null
| ProgressBar
Inherited from¶
createReadStreamAndProgressBar()¶
protected
createReadStreamAndProgressBar(file
,fileStat
,progressBar
,reject
):ReadableStream
Parameters¶
• file: string
• fileStat: Stats
• progressBar: null
| ProgressBar
• reject
Returns¶
ReadableStream
Inherited from¶
Publisher
.createReadStreamAndProgressBar
toString()¶
toString():
string
Returns¶
string
Overrides¶
upload()¶
upload(
task
):Promise
<any
>
Parameters¶
• task: UploadTask
Returns¶
Promise
<any
>