mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 13:18:50 +00:00
Tum mode forcibly closes the system proxy
This commit is contained in:
parent
01dd1ff56f
commit
4930646e05
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue