更新
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user