updater

package
v0.2.38 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AskUpdate

func AskUpdate() bool

func CheckForUpdate

func CheckForUpdate() bool

如果有更新,返回true,否则返回false

func CleanUpdateTemp

func CleanUpdateTemp()

func CleanUpdater

func CleanUpdater()

func DownloadUpdate

func DownloadUpdate(showProgress bool)

func IsUpdateTempNew

func IsUpdateTempNew() bool

判断缓存的更新文件是否是最新的

func MenuUpdateRightNow()

不管本地有没有缓存直接先请求获取最新版本再说

func ScheduleUpdateRightNow added in v0.2.36

func ScheduleUpdateRightNow()

func ShowChangelog

func ShowChangelog()

func UpdateTempExist

func UpdateTempExist() bool

检查config文件夹下是否存在更新文件,有则返回true,否则返回false

func WriteUpdaterJson

func WriteUpdaterJson()

写入config/updater.json

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL