Skip to content

app builder lib.Class.PublishManager

Electron-Builder / app-builder-lib / PublishManager

Implements

Constructors

new PublishManager()

new PublishManager(packager, publishOptions, cancellationToken): PublishManager

Parameters

packager: Packager

publishOptions: PublishOptions

cancellationToken: CancellationToken = packager.cancellationToken

Returns

PublishManager

Properties

cancellationToken

readonly cancellationToken: CancellationToken = packager.cancellationToken

Implementation of

PublishContext.cancellationToken


isPublish

readonly isPublish: boolean = false


progress

readonly progress: null | MultiProgress

Implementation of

PublishContext.progress

Methods

awaitTasks()

awaitTasks(): Promise<void>

Returns

Promise<void>


cancelTasks()

cancelTasks(): void

Returns

void


getGlobalPublishConfigurations()

getGlobalPublishConfigurations(): Promise<null | PublishConfiguration[]>

Returns

Promise<null | PublishConfiguration[]>


scheduleUpload()

scheduleUpload(publishConfig, event, appInfo): void

Parameters

publishConfig: PublishConfiguration

event: UploadTask

appInfo: AppInfo

Returns

void