From 1290e6b751f1c131ff0219878e59b9ad29ec129d Mon Sep 17 00:00:00 2001 From: zenaku Date: Thu, 9 Jul 2026 09:45:47 -0500 Subject: [PATCH] feat(core): branch vless/hysteria2 immediately in ProfileController.enable() --- cli/commands/profile.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/commands/profile.py b/cli/commands/profile.py index 8dd02d0..7146b5f 100644 --- a/cli/commands/profile.py +++ b/cli/commands/profile.py @@ -150,8 +150,9 @@ def handle(arguments, main_parser): application_version_observer=application_version_observer, connection_observer=connection_observer ) - monitor.run_blocking() - _stop_timer(obs.get_ui_state()['timer_state']) + if profile.connection.needs_operator_proxy(): + monitor.run_blocking() + _stop_timer(obs.get_ui_state()['timer_state']) except KeyboardInterrupt: print() _do_disable(profile, ignore)