Remove direct rules check for custom routing in "Furious/Core/CoreManager.py"

Signed-off-by: LorenEteval <loren.eteval@proton.me>
This commit is contained in:
LorenEteval
2026-06-21 15:56:17 +08:00
committed by Loren Eteval
parent d36645de49
commit 923f5fcb4f
+11 -8
View File
@@ -293,14 +293,17 @@ class CoreManager(Mixins.CleanupOnExit):
elif customRoutingObjectFromSettings(routing) is not None:
routingObject = customRoutingObjectFromSettings(routing)
if (
routingObjectHasDirectRule(routingObject)
and not proxyModeOnly
and SystemRuntime.isTUNMode()
):
showMBoxDirectRulesNotAllowed()
return None, False
#
# TODO: Warning: no check for custom routing
#
# if (
# routingObjectHasDirectRule(routingObject)
# and not proxyModeOnly
# and SystemRuntime.isTUNMode()
# ):
# showMBoxDirectRulesNotAllowed()
#
# return None, False
elif routing == AppBuiltinRouting.Custom.value:
routingObject = config.get('routing', {})
else: