logo
59
171
WeChat Login

表格默认应该巨左,目前是巨中#3734

Open
created 4 days ago
Edit
image.png
姓名年龄爱好
小柚3岁吃瓜
莉哥永远1888888撸猫

方法:

方法签名说明
UpdateSelf(current, slug string) (*UpdateResult, error)检测并更新当前可执行文件至最新版本
UpdateSelfWithOptions(current, slug string, opts ApplyOptions) (*UpdateResult, error)同上,支持高级选项
UpdateSelfToRelease(current string, rel *Release) (*UpdateResult, error)更新当前可执行文件到已选中的 release
UpdateSelfToReleaseWithOptions(current string, rel *Release, opts ApplyOptions) (*UpdateResult, error)同上,支持高级选项
UpdateCommand(cmdPath, current, slug string) (*UpdateResult, error)检测并更新指定路径的命令
UpdateCommandWithOptions(cmdPath, current, slug string, opts ApplyOptions) (*UpdateResult, error)同上,支持高级选项
UpdateCommandToRelease(cmdPath, current string, rel *Release) (*UpdateResult, error)更新指定路径的命令到已选中的 release
UpdateCommandToReleaseWithOptions(cmdPath, current string, rel *Release, opts ApplyOptions) (*UpdateResult, error)同上,支持高级选项
UpdateTo(rel *Release, cmdPath string) error从已检测到的 Release 下载并替换指定命令
UpdateToWithOptions(rel *Release, cmdPath string, opts ApplyOptions) error同上,支持高级选项
DetectLatest(slug string) (*Release, bool, error)检测最新 release 版本
DetectVersion(slug, version string) (*Release, bool, error)检测指定版本的 release
assigned self

NPC
referenced ISSUE
Assignee
(一𠂇尢㔫龙)
Label
None yet
Priority
None yet
Time period
-
Property
Add custom properties to record and label key information
Participant