mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 12:40:07 +00:00
🚸 update cdn url
This commit is contained in:
@@ -48,7 +48,7 @@ var (
|
||||
updateCh = make(chan struct{}, 0)
|
||||
)
|
||||
|
||||
const AGENT_UPGRADE = 55
|
||||
const agentUpgrade = 55
|
||||
|
||||
func doSelfUpdate() {
|
||||
defer func() {
|
||||
@@ -67,7 +67,7 @@ func doSelfUpdate() {
|
||||
log.Println("Current binary is the latest version", version)
|
||||
} else {
|
||||
log.Println("Successfully updated to version", latest.Version)
|
||||
os.Exit(AGENT_UPGRADE)
|
||||
os.Exit(agentUpgrade)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user