Tum mode forcibly closes the system proxy

pull/3895/head
2dust 2023-05-21 14:55:48 +08:00
parent 01dd1ff56f
commit 4930646e05
2 changed files with 2 additions and 2 deletions

View File

@ -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)(() =>

View File

@ -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);