mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-24 22:26:07 +03:00
update ...
This commit is contained in:
parent
89af852433
commit
89649d136f
@ -6,6 +6,7 @@
|
|||||||
xmlns:ui="http://schemas.modernwpf.com/2019"
|
xmlns:ui="http://schemas.modernwpf.com/2019"
|
||||||
StartupUri="MainWindow.xaml">
|
StartupUri="MainWindow.xaml">
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
|
|
||||||
<ResourceDictionary>
|
<ResourceDictionary>
|
||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<!--Language-->
|
<!--Language-->
|
||||||
|
@ -11,7 +11,7 @@ namespace ProxySuper.WPF
|
|||||||
{
|
{
|
||||||
protected override void RegisterSetup()
|
protected override void RegisterSetup()
|
||||||
{
|
{
|
||||||
this.RegisterSetupType<MvxWpfSetup<Core.App>>();
|
this.RegisterSetupType<Setup>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
VerticalContentAlignment="Center"
|
VerticalContentAlignment="Center"
|
||||||
Foreground="LimeGreen"
|
Foreground="LimeGreen"
|
||||||
IsChecked="{Binding Path=Checked_VLESS_gRPC}">
|
IsChecked="{Binding Path=Checked_VLESS_gRPC}">
|
||||||
<Label Content="VLESS gRPC
基于http2,多路复用。" FontSize="13" Foreground="LimeGreen" />
|
<Label Content="{DynamicResource VlessRpcDesc}" FontSize="13" Foreground="LimeGreen" />
|
||||||
</CheckBox>
|
</CheckBox>
|
||||||
|
|
||||||
<!--TCP-->
|
<!--TCP-->
|
||||||
@ -98,107 +98,116 @@
|
|||||||
<Label Content="{DynamicResource XrayDomain}" Width="120" />
|
<Label Content="{DynamicResource XrayDomain}" Width="120" />
|
||||||
<TextBox Text="{Binding Path=Domain}" Width="200" />
|
<TextBox Text="{Binding Path=Domain}" Width="200" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--Mask Domain-->
|
|
||||||
<StackPanel Margin="30,15,0,0"
|
|
||||||
Orientation="Horizontal">
|
|
||||||
<Label Content="{DynamicResource XrayMarkDomain}" Width="120" />
|
|
||||||
<TextBox Text="{Binding Path=MaskDomain}" Width="200" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel Margin="30,15,0,0"
|
|
||||||
Orientation="Horizontal">
|
|
||||||
<Label Content="{DynamicResource XrayWithTLS}" Width="120" />
|
|
||||||
<CheckBox IsChecked="{Binding Path=WithTLS}"
|
|
||||||
Content="{DynamicResource XrayWithTLSDesc}"
|
|
||||||
VerticalContentAlignment="Center"
|
|
||||||
VerticalAlignment="Center" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<!--UUID-->
|
<!--UUID-->
|
||||||
<StackPanel Margin="30,10,0,0"
|
<StackPanel Margin="30,10,0,0" Orientation="Horizontal">
|
||||||
Orientation="Horizontal">
|
|
||||||
<Label Content="{DynamicResource XrayUUID}" Width="120" />
|
<Label Content="{DynamicResource XrayUUID}" Width="120" />
|
||||||
|
|
||||||
<TextBox Text="{Binding Path=UUID}"
|
<TextBox Text="{Binding Path=UUID}"
|
||||||
Width="200" />
|
Width="200" />
|
||||||
|
|
||||||
<Button Margin="5,0,0,0"
|
<Button Margin="5,0,0,0"
|
||||||
Padding="12,3"
|
Padding="12,3"
|
||||||
Command="{Binding Path=RandomUuid}"
|
Command="{Binding Path=RandomUuid}"
|
||||||
Content="{DynamicResource Random}" />
|
Content="{DynamicResource Random}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--WebSocket Path-->
|
<!--xray prot-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="30,15,0,0" Orientation="Horizontal">
|
||||||
Orientation="Horizontal"
|
<Label Content="{DynamicResource XrayPort}" Foreground="Gray" Width="120" />
|
||||||
Visibility="{
|
<TextBox Text="{Binding Path=Port}" Width="120" />
|
||||||
Binding Path=Checked_VLESS_WS,
|
<Label Content="{DynamicResource XrayPortDefault}" Foreground="Red" />
|
||||||
Converter={StaticResource VisibleConverter}
|
|
||||||
}">
|
|
||||||
<Label Content="{DynamicResource VlessWsPath}" Foreground="LimeGreen" Width="120" />
|
|
||||||
<TextBox Text="{Binding Path=VLESS_WS_Path}"
|
|
||||||
Width="200" />
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--seed-->
|
<Expander ExpandDirection="Down" Margin="30,10,0,0">
|
||||||
<StackPanel Margin="30,15,0,0"
|
<Expander.Header>
|
||||||
Orientation="Horizontal"
|
<TextBlock Text="更多参数" FontWeight="Bold" />
|
||||||
Visibility="{
|
</Expander.Header>
|
||||||
Binding Path=Checked_VLESS_KCP,
|
<Expander.Content>
|
||||||
Converter={StaticResource VisibleConverter}
|
<StackPanel>
|
||||||
}">
|
<StackPanel Margin="0,15,0,0" Orientation="Horizontal">
|
||||||
<Label Content="{DynamicResource VlessKcpSeed}" Foreground="LimeGreen" Width="120" />
|
<Label Content="{DynamicResource XrayWithTLS}" Width="120" />
|
||||||
<TextBox Text="{Binding Path=VLESS_KCP_Seed}" Width="200" />
|
<CheckBox IsChecked="{Binding Path=WithTLS}"
|
||||||
</StackPanel>
|
Content="{DynamicResource XrayWithTLSDesc}"
|
||||||
|
VerticalContentAlignment="Center"
|
||||||
|
VerticalAlignment="Center" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
<!--kcp type-->
|
<!--Mask Domain-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0" Orientation="Horizontal">
|
||||||
Visibility="{
|
<Label Content="{DynamicResource XrayMarkDomain}" Width="120" />
|
||||||
Binding Path=Checked_VLESS_KCP,
|
<TextBox Text="{Binding Path=MaskDomain}" Width="200" />
|
||||||
Converter={StaticResource VisibleConverter}
|
</StackPanel>
|
||||||
}" Orientation="Horizontal">
|
|
||||||
|
|
||||||
<Label Content="{DynamicResource VlessKcpType}" Foreground="LimeGreen" Width="120" />
|
<!--WebSocket Path-->
|
||||||
<ComboBox Width="200"
|
<StackPanel Margin="0,15,0,0"
|
||||||
ItemsSource="{Binding Path=KcpTypes}"
|
Orientation="Horizontal"
|
||||||
SelectedValue="{Binding VLESS_KCP_Type,Mode=TwoWay}">
|
Visibility="{
|
||||||
</ComboBox>
|
Binding Path=Checked_VLESS_WS,
|
||||||
</StackPanel>
|
Converter={StaticResource VisibleConverter}
|
||||||
|
}">
|
||||||
|
<Label Content="{DynamicResource VlessWsPath}" Foreground="LimeGreen" Width="120" />
|
||||||
|
<TextBox Text="{Binding Path=VLESS_WS_Path}" Width="200" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
<!--kcp port-->
|
<!--seed-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Visibility="{
|
Orientation="Horizontal"
|
||||||
Binding Path=Checked_VLESS_KCP,
|
Visibility="{
|
||||||
Converter={StaticResource VisibleConverter}
|
Binding Path=Checked_VLESS_KCP,
|
||||||
}"
|
Converter={StaticResource VisibleConverter}
|
||||||
Orientation="Horizontal">
|
}">
|
||||||
<Label Content="{DynamicResource VlessKcpPort}" Width="120" Foreground="LimeGreen" />
|
<Label Content="{DynamicResource VlessKcpSeed}" Foreground="LimeGreen" Width="120" />
|
||||||
<TextBox Text="{Binding Path=VLESS_KCP_Port}" Width="200" />
|
<TextBox Text="{Binding Path=VLESS_KCP_Seed}" Width="200" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--gRPC Port-->
|
<!--kcp type-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal"
|
Visibility="{
|
||||||
Visibility="{
|
Binding Path=Checked_VLESS_KCP,
|
||||||
Binding Path=Checked_VLESS_gRPC,
|
Converter={StaticResource VisibleConverter}
|
||||||
Converter={StaticResource VisibleConverter}
|
}" Orientation="Horizontal">
|
||||||
}">
|
|
||||||
<Label Content="{DynamicResource VlessRPCPort}" Width="120" Foreground="LimeGreen" />
|
|
||||||
<TextBox Text="{Binding Path=VLESS_gRPC_Port}" Width="200" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<StackPanel Margin="30,15,0,0"
|
<Label Content="{DynamicResource VlessKcpType}" Foreground="LimeGreen" Width="120" />
|
||||||
Orientation="Horizontal"
|
<ComboBox Width="200"
|
||||||
Visibility="{
|
ItemsSource="{Binding Path=KcpTypes}"
|
||||||
Binding Path=Checked_VLESS_gRPC,
|
SelectedValue="{Binding VLESS_KCP_Type,Mode=TwoWay}">
|
||||||
Converter={StaticResource VisibleConverter}
|
</ComboBox>
|
||||||
}">
|
</StackPanel>
|
||||||
<Label Content="{DynamicResource VlessRPCName}" Width="120" Foreground="LimeGreen" />
|
|
||||||
<TextBox Text="{Binding Path=VLESS_gRPC_ServiceName}" Width="200" />
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<!--Tcp Path
|
<!--kcp port-->
|
||||||
|
<StackPanel Margin="0,15,0,0"
|
||||||
|
Visibility="{
|
||||||
|
Binding Path=Checked_VLESS_KCP,
|
||||||
|
Converter={StaticResource VisibleConverter}
|
||||||
|
}"
|
||||||
|
Orientation="Horizontal">
|
||||||
|
<Label Content="{DynamicResource VlessKcpPort}" Width="120" Foreground="LimeGreen" />
|
||||||
|
<TextBox Text="{Binding Path=VLESS_KCP_Port}" Width="200" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<!--gRPC Port-->
|
||||||
|
<StackPanel Margin="0,15,0,0"
|
||||||
|
Orientation="Horizontal"
|
||||||
|
Visibility="{
|
||||||
|
Binding Path=Checked_VLESS_gRPC,
|
||||||
|
Converter={StaticResource VisibleConverter}
|
||||||
|
}">
|
||||||
|
<Label Content="{DynamicResource VlessRPCPort}" Width="120" Foreground="LimeGreen" />
|
||||||
|
<TextBox Text="{Binding Path=VLESS_gRPC_Port}" Width="200" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<StackPanel Margin="0,15,0,0"
|
||||||
|
Orientation="Horizontal"
|
||||||
|
Visibility="{
|
||||||
|
Binding Path=Checked_VLESS_gRPC,
|
||||||
|
Converter={StaticResource VisibleConverter}
|
||||||
|
}">
|
||||||
|
<Label Content="{DynamicResource VlessRPCName}" Width="120" Foreground="LimeGreen" />
|
||||||
|
<TextBox Text="{Binding Path=VLESS_gRPC_ServiceName}" Width="200" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<!--Tcp Path
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="30,15,0,0"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Visibility="{
|
Visibility="{
|
||||||
@ -211,128 +220,121 @@
|
|||||||
Width="200" />
|
Width="200" />
|
||||||
</StackPanel>-->
|
</StackPanel>-->
|
||||||
|
|
||||||
<!--WebSocket Path-->
|
<!--WebSocket Path-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Visibility="{
|
Visibility="{
|
||||||
Binding Path=Checked_VMESS_WS,
|
Binding Path=Checked_VMESS_WS,
|
||||||
Converter={StaticResource VisibleConverter}
|
Converter={StaticResource VisibleConverter}
|
||||||
}">
|
}">
|
||||||
<Label Content="{DynamicResource VmessWsPath}" Foreground="Blue" Width="120" />
|
<Label Content="{DynamicResource VmessWsPath}" Foreground="Blue" Width="120" />
|
||||||
<TextBox Text="{Binding Path=VMESS_WS_Path}"
|
<TextBox Text="{Binding Path=VMESS_WS_Path}"
|
||||||
VerticalAlignment="Bottom"
|
VerticalAlignment="Bottom"
|
||||||
Width="200" />
|
Width="200" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--seed-->
|
<!--seed-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Visibility="{
|
Visibility="{
|
||||||
Binding Path=Checked_VMESS_KCP,
|
Binding Path=Checked_VMESS_KCP,
|
||||||
Converter={StaticResource VisibleConverter}
|
Converter={StaticResource VisibleConverter}
|
||||||
}">
|
}">
|
||||||
<Label Content="{DynamicResource VmessKcpSeed}" Foreground="Blue" Width="120" />
|
<Label Content="{DynamicResource VmessKcpSeed}" Foreground="Blue" Width="120" />
|
||||||
<TextBox Text="{Binding Path=VMESS_KCP_Seed}" Width="200" />
|
<TextBox Text="{Binding Path=VMESS_KCP_Seed}" Width="200" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--kcp type-->
|
<!--kcp type-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Visibility="{
|
Visibility="{
|
||||||
Binding Path=Checked_VMESS_KCP,
|
Binding Path=Checked_VMESS_KCP,
|
||||||
Converter={StaticResource VisibleConverter}
|
Converter={StaticResource VisibleConverter}
|
||||||
}">
|
}">
|
||||||
<Label Content="{DynamicResource VmessKcpType}" Foreground="Blue" Width="120" VerticalAlignment="Bottom"/>
|
<Label Content="{DynamicResource VmessKcpType}" Foreground="Blue" Width="120" VerticalAlignment="Bottom"/>
|
||||||
<ComboBox Width="200"
|
<ComboBox Width="200"
|
||||||
VerticalAlignment="Bottom"
|
VerticalAlignment="Bottom"
|
||||||
ItemsSource="{Binding Path=KcpTypes}"
|
ItemsSource="{Binding Path=KcpTypes}"
|
||||||
SelectedValue="{Binding VMESS_KCP_Type,Mode=TwoWay}">
|
SelectedValue="{Binding VMESS_KCP_Type,Mode=TwoWay}">
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--kcp port-->
|
<!--kcp port-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Visibility="{
|
Visibility="{
|
||||||
Binding Path=Checked_VMESS_KCP,
|
Binding Path=Checked_VMESS_KCP,
|
||||||
Converter={StaticResource VisibleConverter}
|
Converter={StaticResource VisibleConverter}
|
||||||
}">
|
}">
|
||||||
<Label Content="{DynamicResource VmessKcpPort}" Foreground="Blue" Width="120" />
|
<Label Content="{DynamicResource VmessKcpPort}" Foreground="Blue" Width="120" />
|
||||||
<TextBox Text="{Binding Path=VMESS_KCP_Port}" Width="200" />
|
<TextBox Text="{Binding Path=VMESS_KCP_Port}" Width="200" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--ss密码-->
|
<!--ss密码-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Visibility="{
|
Visibility="{
|
||||||
Binding Path=CheckedShadowSocks,
|
Binding Path=CheckedShadowSocks,
|
||||||
Converter={StaticResource VisibleConverter}
|
Converter={StaticResource VisibleConverter}
|
||||||
}">
|
}">
|
||||||
<Label Content="{DynamicResource SSPassword}" Foreground="Fuchsia" Width="120" />
|
<Label Content="{DynamicResource SSPassword}" Foreground="Fuchsia" Width="120" />
|
||||||
<TextBox Text="{Binding Path=ShadowSocksPassword}"
|
<TextBox Text="{Binding Path=ShadowSocksPassword}"
|
||||||
Width="200"/>
|
Width="200"/>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--ss加密方式-->
|
<!--ss加密方式-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Visibility="{
|
Visibility="{
|
||||||
Binding Path=CheckedShadowSocks,
|
Binding Path=CheckedShadowSocks,
|
||||||
Converter={StaticResource VisibleConverter}
|
Converter={StaticResource VisibleConverter}
|
||||||
}">
|
}">
|
||||||
<Label Content="{DynamicResource SSMethods}" Foreground="Fuchsia" Width="120" />
|
<Label Content="{DynamicResource SSMethods}" Foreground="Fuchsia" Width="120" />
|
||||||
<ComboBox Width="200"
|
<ComboBox Width="200"
|
||||||
ItemsSource="{Binding ShadowSocksMethods}"
|
ItemsSource="{Binding ShadowSocksMethods}"
|
||||||
SelectedValue="{Binding ShadowSocksMethod}">
|
SelectedValue="{Binding ShadowSocksMethod}">
|
||||||
</ComboBox>
|
</ComboBox>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<!--ss端口-->
|
|
||||||
<StackPanel Margin="30,15,0,0"
|
|
||||||
Orientation="Horizontal"
|
|
||||||
Visibility="{
|
|
||||||
Binding Path=CheckedShadowSocks,
|
|
||||||
Converter={StaticResource VisibleConverter}
|
|
||||||
}">
|
|
||||||
<Label Content="{DynamicResource SSPort}" Foreground="Fuchsia" Width="120" />
|
|
||||||
<TextBox Text="{Binding Path=ShadowSocksPort}" Width="200"/>
|
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<!--Trojan密码-->
|
<!--ss端口-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal"
|
Orientation="Horizontal"
|
||||||
Visibility="{
|
Visibility="{
|
||||||
Binding Path=Checked_Trojan_TCP,
|
Binding Path=CheckedShadowSocks,
|
||||||
Converter={StaticResource VisibleConverter}
|
Converter={StaticResource VisibleConverter}
|
||||||
}">
|
}">
|
||||||
<Label Content="{DynamicResource TrojanPassword}" Foreground="CadetBlue" Width="120" />
|
<Label Content="{DynamicResource SSPort}" Foreground="Fuchsia" Width="120" />
|
||||||
<TextBox Text="{Binding Path=TrojanPassword}"
|
<TextBox Text="{Binding Path=ShadowSocksPort}" Width="200"/>
|
||||||
Width="200" />
|
</StackPanel>
|
||||||
</StackPanel>
|
|
||||||
|
|
||||||
<!--xray prot-->
|
<!--Trojan密码-->
|
||||||
<StackPanel Margin="30,15,0,0"
|
<StackPanel Margin="0,15,0,0"
|
||||||
Orientation="Horizontal">
|
Orientation="Horizontal"
|
||||||
<Label Content="{DynamicResource XrayPort}" Foreground="Gray" Width="120" />
|
Visibility="{
|
||||||
<TextBox Text="{Binding Path=Port}" Width="120" />
|
Binding Path=Checked_Trojan_TCP,
|
||||||
<Label Content="{DynamicResource XrayPortDefault}" Foreground="Red" />
|
Converter={StaticResource VisibleConverter}
|
||||||
</StackPanel>
|
}">
|
||||||
|
<Label Content="{DynamicResource TrojanPassword}" Foreground="CadetBlue" Width="120" />
|
||||||
|
<TextBox Text="{Binding Path=TrojanPassword}" Width="200" />
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
<!--多用户-->
|
<!--多用户-->
|
||||||
<StackPanel Margin="30,10,0,0"
|
<StackPanel Margin="0,10,0,0" Orientation="Vertical">
|
||||||
Orientation="Vertical">
|
<StackPanel Orientation="Horizontal">
|
||||||
<StackPanel Orientation="Horizontal">
|
<Label Content="{DynamicResource MultiUser}" Width="120" />
|
||||||
<Label Content="{DynamicResource MultiUser}" Width="120" />
|
|
||||||
|
|
||||||
<TextBox Text="{Binding Path=MultiUUID}"
|
<TextBox Text="{Binding Path=MultiUUID}"
|
||||||
Height="60"
|
Height="60"
|
||||||
TextWrapping="Wrap"
|
TextWrapping="Wrap"
|
||||||
Width="200" />
|
Width="200" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
<StackPanel>
|
<StackPanel>
|
||||||
<TextBlock Margin="120,3,0,0" Text="{DynamicResource MultiUserHelp}" />
|
<TextBlock Margin="120,3,0,0" Text="{DynamicResource MultiUserHelp}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
</StackPanel>
|
||||||
|
</Expander.Content>
|
||||||
|
</Expander>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
@ -136,6 +136,7 @@
|
|||||||
<Compile Include="MainWindow.xaml.cs">
|
<Compile Include="MainWindow.xaml.cs">
|
||||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Setup.cs" />
|
||||||
<Compile Include="Views\Brook\BrookConfigView.xaml.cs">
|
<Compile Include="Views\Brook\BrookConfigView.xaml.cs">
|
||||||
<DependentUpon>BrookConfigView.xaml</DependentUpon>
|
<DependentUpon>BrookConfigView.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
@ -67,9 +67,10 @@
|
|||||||
|
|
||||||
|
|
||||||
<!--Xray-->
|
<!--Xray-->
|
||||||
<sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS over TCP With XTLS
Preferred</sys:String>
|
<sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS over TCP With XTLS
</sys:String>
|
||||||
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS
XTLS is Preferred</sys:String>
|
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS
</sys:String>
|
||||||
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS
Support CDN</sys:String>
|
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS
Support CDN</sys:String>
|
||||||
|
<sys:String x:Key="VlessRpcDesc" xml:space="preserve">VLESS gRPC
http2,multiplexing。</sys:String>
|
||||||
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP
low delay,without Domain</sys:String>
|
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP
low delay,without Domain</sys:String>
|
||||||
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS
Support CDN</sys:String>
|
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS
Support CDN</sys:String>
|
||||||
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP
low delay,without Domian</sys:String>
|
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP
low delay,without Domian</sys:String>
|
||||||
|
@ -65,9 +65,10 @@
|
|||||||
<sys:String x:Key="ProxyTypeSocks5">Socks5</sys:String>
|
<sys:String x:Key="ProxyTypeSocks5">Socks5</sys:String>
|
||||||
|
|
||||||
<!--Xray-->
|
<!--Xray-->
|
||||||
<sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS Over TCP With XTLS
性能數倍,首選方式。</sys:String>
|
<sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS Over TCP With XTLS
安全隱患,謹慎。</sys:String>
|
||||||
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS
仍推薦XTLS。</sys:String>
|
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS
</sys:String>
|
||||||
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS
推薦,支持CDN。</sys:String>
|
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS
推薦,支持CDN。</sys:String>
|
||||||
|
<sys:String x:Key="VlessRpcDesc" xml:space="preserve">VLESS gRPC
基於http2,多路複用。</sys:String>
|
||||||
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP
遊戲推薦,延遲低,免域名。</sys:String>
|
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP
遊戲推薦,延遲低,免域名。</sys:String>
|
||||||
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS
推薦,支持CDN。</sys:String>
|
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS
推薦,支持CDN。</sys:String>
|
||||||
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP
遊戲推薦,延遲低,免域名。</sys:String>
|
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP
遊戲推薦,延遲低,免域名。</sys:String>
|
||||||
|
@ -66,9 +66,10 @@
|
|||||||
<sys:String x:Key="ProxyTypeSocks5">Socks5</sys:String>
|
<sys:String x:Key="ProxyTypeSocks5">Socks5</sys:String>
|
||||||
|
|
||||||
<!--Xray-->
|
<!--Xray-->
|
||||||
<sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS Over TCP With XTLS
性能数倍,首选方式。</sys:String>
|
<sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS Over TCP With XTLS
安全隐患,谨慎。</sys:String>
|
||||||
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS
仍推荐XTLS。</sys:String>
|
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS
推荐,主流。</sys:String>
|
||||||
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS
推荐,支持CDN。</sys:String>
|
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS
推荐,支持CDN。</sys:String>
|
||||||
|
<sys:String x:Key="VlessRpcDesc" xml:space="preserve">VLESS gRPC
基于http2,多路复用。</sys:String>
|
||||||
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP
游戏推荐,延迟低,免域名。</sys:String>
|
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP
游戏推荐,延迟低,免域名。</sys:String>
|
||||||
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS
推荐,支持CDN。</sys:String>
|
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS
推荐,支持CDN。</sys:String>
|
||||||
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP
游戏推荐,延迟低,免域名。</sys:String>
|
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP
游戏推荐,延迟低,免域名。</sys:String>
|
||||||
|
23
ProxySuper.WPF/Setup.cs
Normal file
23
ProxySuper.WPF/Setup.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
using Microsoft.Extensions.Logging;
|
||||||
|
using MvvmCross.Platforms.Wpf.Core;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace ProxySuper.WPF
|
||||||
|
{
|
||||||
|
public class Setup : MvxWpfSetup<Core.App>
|
||||||
|
{
|
||||||
|
protected override ILoggerProvider CreateLogProvider()
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override ILoggerFactory CreateLogFactory()
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -1,6 +1,8 @@
|
|||||||
using MvvmCross;
|
using MvvmCross;
|
||||||
using MvvmCross.Navigation;
|
using MvvmCross.Navigation;
|
||||||
|
using MvvmCross.Platforms.Wpf.Presenters.Attributes;
|
||||||
using MvvmCross.Platforms.Wpf.Views;
|
using MvvmCross.Platforms.Wpf.Views;
|
||||||
|
using MvvmCross.ViewModels;
|
||||||
using ProxySuper.Core.Models;
|
using ProxySuper.Core.Models;
|
||||||
using ProxySuper.Core.ViewModels;
|
using ProxySuper.Core.ViewModels;
|
||||||
using System;
|
using System;
|
||||||
@ -10,9 +12,8 @@ using System.Windows;
|
|||||||
|
|
||||||
namespace ProxySuper.WPF.Views
|
namespace ProxySuper.WPF.Views
|
||||||
{
|
{
|
||||||
/// <summary>
|
[MvxContentPresentation]
|
||||||
/// HomeView.xaml 的交互逻辑
|
[MvxViewFor(typeof(HomeViewModel))]
|
||||||
/// </summary>
|
|
||||||
public partial class HomeView : MvxWpfView
|
public partial class HomeView : MvxWpfView
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -59,13 +59,6 @@
|
|||||||
<ctrl:VLESS_gRPC_Control />
|
<ctrl:VLESS_gRPC_Control />
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
||||||
<!--<TabItem Width="200" Height="40"
|
|
||||||
Tag="{x:Static models:XrayType.VMESS_TCP}"
|
|
||||||
IsEnabled="{Binding Checked_VMESS_TCP}"
|
|
||||||
Header="VMESS-TCP-TLS">
|
|
||||||
<ctrl:VMESS_TCP_TLS_Control />
|
|
||||||
</TabItem>-->
|
|
||||||
|
|
||||||
<TabItem Width="200" Height="40"
|
<TabItem Width="200" Height="40"
|
||||||
Tag="{x:Static models:RayType.VMESS_WS}"
|
Tag="{x:Static models:RayType.VMESS_WS}"
|
||||||
IsEnabled="{Binding Checked_VMESS_WS}"
|
IsEnabled="{Binding Checked_VMESS_WS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user