Skip to content

electron publish.Class.KeygenPublisher

Electron-Builder / electron-publish / KeygenPublisher

Extends

Constructors

new KeygenPublisher()

new KeygenPublisher(context, info, version): KeygenPublisher

Parameters

context: PublishContext

info: KeygenOptions

version: string

Returns

KeygenPublisher

Overrides

HttpPublisher.constructor

Properties

context

protected readonly context: PublishContext

Inherited from

HttpPublisher.context


hostname

readonly hostname: "api.keygen.sh" = "api.keygen.sh"


providerName

readonly providerName: "keygen" = "keygen"

Overrides

HttpPublisher.providerName

Methods

createProgressBar()

protected createProgressBar(fileName, size): null | ProgressBar

Parameters

fileName: string

size: number

Returns

null | ProgressBar

Inherited from

HttpPublisher.createProgressBar


createReadStreamAndProgressBar()

protected createReadStreamAndProgressBar(file, fileStat, progressBar, reject): ReadableStream

Parameters

file: string

fileStat: Stats

progressBar: null | ProgressBar

reject

Returns

ReadableStream

Inherited from

HttpPublisher.createReadStreamAndProgressBar


deleteRelease()

deleteRelease(releaseId): Promise<void>

Parameters

releaseId: string

Returns

Promise<void>


doUpload()

protected doUpload(fileName, _arch, dataLength, requestProcessor, _file): Promise<string>

Parameters

fileName: string

_arch: Arch

dataLength: number

requestProcessor

_file: string

Returns

Promise<string>

Overrides

HttpPublisher.doUpload


toString()

toString(): string

Returns

string

Overrides

HttpPublisher.toString


upload()

upload(task): Promise<any>

Parameters

task: UploadTask

Returns

Promise<any>

Inherited from

HttpPublisher.upload