From f506b0425f7fb245b81de004796f5dffc95c2584 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 2 Oct 2025 15:31:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=8B=E8=BD=BD=E5=9B=9E=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/data/app.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/data/app.go b/internal/data/app.go index 74e4725a..a674c66d 100644 --- a/internal/data/app.go +++ b/internal/data/app.go @@ -304,6 +304,11 @@ func (r *appRepo) Update(slug string) error { return err } + // 下载回调 + if err = r.api.AppCallback(slug); err != nil { + r.log.Warn("[App] download callback failed", slog.String("app", slug), slog.Any("error", err)) + } + if app.IsCli { return shell.ExecfWithOutput(`curl -sSLm 10 --retry 3 "%s" | bash -s -- "%s" "%s"`, shellUrl, shellChannel, shellVersion) }