This commit is contained in:
Your Name
2026-10-23 11:01:21 +08:00
parent a3d2d3170d
commit f78f46b28a
4 changed files with 183 additions and 10 deletions
+4
View File
@@ -49,6 +49,10 @@ def local_config_type(api: str):
def main() -> int:
# Select the native backend before Qt creates network objects or scans TLS
# plugins. Selecting it later can load conflicting OpenSSL DLLs on Windows.
if sys.platform == "win32":
os.environ["QT_TLS_BACKEND"] = "schannel"
root = Path(__file__).resolve().parents[1]
api = os.environ.get("DOCTOR_LOCAL_API_URL", "https://css.zhenyangtang.com.cn")
validate_local_url(api)