From 11c1eab4b4fb4c926fd8f110c0c41ebd04779976 Mon Sep 17 00:00:00 2001 From: RoyirinRosmontis Date: Sun, 23 Aug 2026 12:45:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=20-=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=A3=80=E6=9F=A5=E8=B7=B3=E8=BF=87=EF=BC=88=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E6=9C=AA=E9=85=8D=E7=BD=AE=EF=BC=89=E6=97=B6=20=5Flat?= =?UTF-8?q?est=5Fversion=20=E6=9C=AA=E5=88=9D=E5=A7=8B=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=5Fon=5Fupdate=5Fdone=20=E8=AF=BB=E5=8F=96=E8=A7=A6=E5=8F=91=20?= =?UTF-8?q?AttributeError=EF=BC=9B=E6=94=B9=E4=B8=BA=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E5=89=8D=E7=BB=9F=E4=B8=80=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lite/proxy_lite.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lite/proxy_lite.py b/lite/proxy_lite.py index 7c5ba93..87f362c 100644 --- a/lite/proxy_lite.py +++ b/lite/proxy_lite.py @@ -1605,6 +1605,9 @@ class MainWindow(QWidget): self.traffic_total.setText(_fmt_bytes(up_total + down_total)) def _check_update(self): """后台检查服务器是否有新版本。""" + # 先初始化结果,任何路径(含跳过)完成后 _on_update_done 都能安全读取 + self._latest_version = "" + self._download_url = "" try: import json, urllib.request, base64 domain = _endpoint_domain()