From 4beb040b3de8d1af647262c380c8622f2f6d12b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 2 Jan 2025 19:21:17 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=9D=E5=A7=8B=E5=8C=96=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=90=AF=E7=94=A8=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/service/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/service/cli.go b/internal/service/cli.go index 397f427d..b6bd398f 100644 --- a/internal/service/cli.go +++ b/internal/service/cli.go @@ -825,7 +825,7 @@ func (s *CliService) Init(ctx context.Context, cmd *cli.Command) error { {Key: biz.SettingKeyWebsitePath, Value: filepath.Join(app.Root, "wwwroot")}, {Key: biz.SettingKeyVersion, Value: app.Version}, {Key: biz.SettingKeyOfflineMode, Value: "false"}, - {Key: biz.SettingKeyAutoUpdate, Value: "false"}, + {Key: biz.SettingKeyAutoUpdate, Value: "true"}, } if err := s.db.Create(&settings).Error; err != nil { return fmt.Errorf("初始化失败:%v", err)