Add system proxy pac to the Windows desktop version

This commit is contained in:
2dust
2025-02-18 14:38:08 +08:00
parent deafd73306
commit 0b1b681655
5 changed files with 19 additions and 3 deletions
@@ -43,6 +43,11 @@ namespace v2rayN.Desktop.Views
});
//spEnableTun.IsVisible = (Utils.IsWindows() || AppHandler.Instance.IsAdministrator);
if (Utils.IsNonWindows() && cmbSystemProxy.Items.IsReadOnly == false)
{
cmbSystemProxy.Items.RemoveAt(cmbSystemProxy.Items.Count - 1);
}
}
private async Task<bool> UpdateViewHandler(EViewAction action, object? obj)