Tum mode forcibly closes the system proxy
This commit is contained in:
@@ -1528,7 +1528,7 @@ namespace v2rayN.ViewModels
|
||||
|
||||
private void ChangeSystemProxyStatus(ESysProxyType type, bool blChange)
|
||||
{
|
||||
SysProxyHandle.UpdateSysProxy(_config, false);
|
||||
SysProxyHandle.UpdateSysProxy(_config, _config.tunModeItem.enableTun ? true : false);
|
||||
_noticeHandler?.SendMessage(ResUI.TipChangeSystemProxy, true);
|
||||
|
||||
Application.Current.Dispatcher.Invoke((Action)(() =>
|
||||
|
||||
@@ -95,7 +95,7 @@ namespace v2rayN.ViewModels
|
||||
|
||||
if (!hasRule)
|
||||
{
|
||||
UI.ShowWarning(string.Format(ResUI.RoutingRuleDetailRequiredTips, "Port/Protocol/Domain/IP"));
|
||||
UI.ShowWarning(string.Format(ResUI.RoutingRuleDetailRequiredTips, "Port/Protocol/Domain/IP/Process"));
|
||||
return;
|
||||
}
|
||||
//_noticeHandler?.Enqueue(ResUI.OperationSuccess);
|
||||
|
||||
Reference in New Issue
Block a user