Add system proxy exception function for linux
https://github.com/2dust/v2rayN/issues/6214
This commit is contained in:
@@ -697,7 +697,10 @@
|
||||
|
||||
<TabItem Name="tabSystemproxy" Header="{x:Static resx:ResUI.TbSettingsSystemproxy}">
|
||||
<DockPanel Classes="Margin8">
|
||||
<StackPanel DockPanel.Dock="Bottom" Orientation="Vertical">
|
||||
<StackPanel
|
||||
Name="panSystemProxyAdvanced"
|
||||
DockPanel.Dock="Bottom"
|
||||
Orientation="Vertical">
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
@@ -723,11 +726,17 @@
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock
|
||||
Grid.Row="1"
|
||||
Name="txbSettingsExceptionTip"
|
||||
VerticalAlignment="Center"
|
||||
Classes="Margin8"
|
||||
DockPanel.Dock="Top"
|
||||
Text="{x:Static resx:ResUI.TbSettingsExceptionTip}" />
|
||||
<TextBlock
|
||||
Name="txbSettingsExceptionTip2"
|
||||
VerticalAlignment="Center"
|
||||
Classes="Margin8"
|
||||
DockPanel.Dock="Top"
|
||||
Text="{x:Static resx:ResUI.TbSettingsExceptionTip2}" />
|
||||
<TextBox
|
||||
x:Name="txtsystemProxyExceptions"
|
||||
VerticalAlignment="Stretch"
|
||||
|
||||
@@ -166,9 +166,14 @@ namespace v2rayN.Desktop.Views
|
||||
this.BindCommand(ViewModel, vm => vm.SaveCmd, v => v.btnSave).DisposeWith(disposables);
|
||||
});
|
||||
|
||||
if (!Utils.IsWindows())
|
||||
if (Utils.IsWindows())
|
||||
{
|
||||
tabSystemproxy.IsVisible = false;
|
||||
txbSettingsExceptionTip2.IsVisible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
txbSettingsExceptionTip.IsVisible = false;
|
||||
panSystemProxyAdvanced.IsVisible = false;
|
||||
}
|
||||
|
||||
if (Utils.IsOSX())
|
||||
|
||||
Reference in New Issue
Block a user