From 06ab8f35cefba62c3131fc276b9ab5aecc6fa50e 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 f1b455ac..6ad7807c 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 {