1 From 2f1d1f27d3b38a78c747a2f1e056c54657e9c723 Mon Sep 17 00:00:00 2001
2 From: Puqns67 <me@puqns67.icu>
3 Date: Sun, 3 Dec 2023 17:17:25 +0800
4 Subject: [PATCH 1/3] build: remove update support for this build
8 1 file changed, 9 deletions(-)
10 diff --git a/main.go b/main.go
11 index b3fde96..153551e 100644
14 @@ -18,7 +18,6 @@ import (
15 "github.com/jeessy2/ddns-go/v6/config"
16 "github.com/jeessy2/ddns-go/v6/dns"
17 "github.com/jeessy2/ddns-go/v6/util"
18 - "github.com/jeessy2/ddns-go/v6/util/update"
19 "github.com/jeessy2/ddns-go/v6/web"
20 "github.com/kardianos/service"
22 @@ -27,9 +26,6 @@ import (
24 var versionFlag = flag.Bool("v", false, "ddns-go version")
27 -var updateFlag = flag.Bool("u", false, "Upgrade ddns-go to the latest version")
30 var listen = flag.String("l", ":9876", "Listen address")
32 @@ -72,11 +68,6 @@ func main() {
37 - update.Self(version)
41 // 安卓 go/src/time/zoneinfo_android.go 固定localLoc 为 UTC
42 if runtime.GOOS == "android" {