Skip to content

electron publish.Class.SnapStorePublisher

Electron-Builder / electron-publish / SnapStorePublisher

Extends

Constructors

new SnapStorePublisher()

new SnapStorePublisher(context, options): SnapStorePublisher

Parameters

context: PublishContext

options: SnapStoreOptions

Returns

SnapStorePublisher

Overrides

Publisher.constructor

Properties

context

protected readonly context: PublishContext

Inherited from

Publisher.context


providerName

readonly providerName: "snapStore" = "snapStore"

Overrides

Publisher.providerName

Methods

createProgressBar()

protected createProgressBar(fileName, size): null | ProgressBar

Parameters

fileName: string

size: number

Returns

null | ProgressBar

Inherited from

Publisher.createProgressBar


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

Publisher.toString


upload()

upload(task): Promise<any>

Parameters

task: UploadTask

Returns

Promise<any>

Overrides

Publisher.upload