跳到内容

electron updater.Interface.UpdateDownloadedEvent

Electron-Builder / electron-updater / UpdateDownloadedEvent

继承自

属性

downloadedFile

downloadedFile: string


files

readonly files: UpdateFileInfo[]

继承自

UpdateInfo.files


minimumSystemVersion?

readonly optional minimumSystemVersion: string

应用程序运行所需的最低系统版本。示例值:macOS 23.1.0,Windows 10.0.22631。与 os.release() 值相同,这是一个内核版本。

继承自

UpdateInfo.minimumSystemVersion


path

readonly path: string

已弃用

继承自

UpdateInfo.path


releaseDate

releaseDate: string

发布日期。

继承自

UpdateInfo.releaseDate


releaseName?

optional releaseName: null | string

发布名称。

继承自

UpdateInfo.releaseName


releaseNotes?

optional releaseNotes: null | string | ReleaseNoteInfo[]

发布说明。如果 `updater.fullChangelog` 设置为 `true`,则为列表,否则为 `string`。

继承自

UpdateInfo.releaseNotes


sha512

readonly sha512: string

已弃用

继承自

UpdateInfo.sha512


stagingPercentage?

readonly optional stagingPercentage: number

分阶段发布 百分比,0-100。

继承自

UpdateInfo.stagingPercentage


version

readonly version: string

版本。

继承自

UpdateInfo.version