From c60c811119c28cfe9168f88cf43b8fc2df579c6f Mon Sep 17 00:00:00 2001 From: Akizon77 Date: Fri, 16 May 2025 21:09:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E9=80=80=E5=87=BA?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=B8=BA42=EF=BC=8C=E4=BB=A5=E7=AC=A6?= =?UTF-8?q?=E5=90=88=E7=A8=8B=E5=BA=8F=E7=BA=A6=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update/update.go b/update/update.go index c1f47ac..ffbfb79 100644 --- a/update/update.go +++ b/update/update.go @@ -62,6 +62,6 @@ func CheckAndUpdate() error { // return fmt.Errorf("failed to restart program: %v", err) // } fmt.Printf("Successfully updated to version %s\n", latest.Version) - os.Exit(0) + os.Exit(42) return nil }