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¶
Overrides¶
Properties¶
context¶
protected
readonly
context:PublishContext
Inherited from¶
hostname¶
readonly
hostname:"api.keygen.sh"
="api.keygen.sh"
providerName¶
readonly
providerName:"keygen"
="keygen"
Overrides¶
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¶
toString()¶
toString():
string
Returns¶
string
Overrides¶
upload()¶
upload(
task
):Promise
<any
>
Parameters¶
• task: UploadTask
Returns¶
Promise
<any
>