fix: improve IP classification and source fallback

This commit is contained in:
Aimili
2026-08-27 03:16:44 +08:00
parent 635ebd4db0
commit f190d746ef
8 changed files with 341 additions and 83 deletions
+2 -2
View File
@@ -204,9 +204,9 @@ def get_app_version():
try:
with open(os.path.join(INSTALL_DIR, "VERSION"), "r", encoding="utf-8") as f:
version = f.read().strip().lstrip("vV")
return version or "2.1.1"
return version or "2.1.2"
except Exception:
return "2.1.1"
return "2.1.2"
def load_ui_cfg():
import json