From 58b730320f83a925d33ad0fe6869f718672eb141 Mon Sep 17 00:00:00 2001 From: suyao Date: Wed, 12 Mar 2025 22:52:50 +0800 Subject: [PATCH] refactor(Proxy): Update proxy configuration handling --- src/main/services/ProxyManager.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/services/ProxyManager.ts b/src/main/services/ProxyManager.ts index f1b455ac75..6ad7807c32 100644 --- a/src/main/services/ProxyManager.ts +++ b/src/main/services/ProxyManager.ts @@ -17,10 +17,12 @@ export class ProxyManager { constructor() { this.config = { - mode: 'system', + mode: 'none', url: '' } - this.monitorSystemProxy() + if (this.config.mode === 'system') { + this.monitorSystemProxy() + } } private async setSessionsProxy(config: _ProxyConfig): Promise {