mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
💚 更新 Go 版本
This commit is contained in:
@@ -255,6 +255,9 @@ func doSelfUpdate(donNotUseLocalVersion bool) {
|
||||
}
|
||||
|
||||
func handleUpgradeTask(task *pb.Task, result *pb.TaskResult) {
|
||||
if agentConf.DisableForceUpdate {
|
||||
return
|
||||
}
|
||||
doSelfUpdate(true)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user