1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-24 22:26:07 +03:00

update ...

This commit is contained in:
autumn 2022-11-20 23:00:16 +08:00
parent 89af852433
commit 89649d136f
10 changed files with 236 additions and 212 deletions

View File

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

View File

@ -11,7 +11,7 @@ namespace ProxySuper.WPF
{ {
protected override void RegisterSetup() protected override void RegisterSetup()
{ {
this.RegisterSetupType<MvxWpfSetup<Core.App>>(); this.RegisterSetupType<Setup>();
} }
} }
} }

View File

@ -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&#x0a;基于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>

View File

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

View File

@ -67,9 +67,10 @@
<!--Xray--> <!--Xray-->
<sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS over TCP With XTLS&#x0a;Preferred</sys:String> <sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS over TCP With XTLS&#x0a;</sys:String>
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS&#x0a;XTLS is Preferred</sys:String> <sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS&#x0a;</sys:String>
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS&#x0a;Support CDN</sys:String> <sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS&#x0a;Support CDN</sys:String>
<sys:String x:Key="VlessRpcDesc" xml:space="preserve">VLESS gRPC&#x0a;http2multiplexing。</sys:String>
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP&#x0a;low delaywithout Domain</sys:String> <sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP&#x0a;low delaywithout Domain</sys:String>
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS&#x0a;Support CDN</sys:String> <sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS&#x0a;Support CDN</sys:String>
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP&#x0a;low delaywithout Domian</sys:String> <sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP&#x0a;low delaywithout Domian</sys:String>

View File

@ -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&#x0a;性能數倍,首選方式。</sys:String> <sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS Over TCP With XTLS&#x0a;安全隱患,謹慎。</sys:String>
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS&#x0a;仍推薦XTLS。</sys:String> <sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS&#x0a;</sys:String>
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS&#x0a;推薦支持CDN。</sys:String> <sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS&#x0a;推薦支持CDN。</sys:String>
<sys:String x:Key="VlessRpcDesc" xml:space="preserve">VLESS gRPC&#x0a;基於http2多路複用。</sys:String>
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP&#x0a;遊戲推薦,延遲低,免域名。</sys:String> <sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP&#x0a;遊戲推薦,延遲低,免域名。</sys:String>
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS&#x0a;推薦支持CDN。</sys:String> <sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS&#x0a;推薦支持CDN。</sys:String>
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP&#x0a;遊戲推薦,延遲低,免域名。</sys:String> <sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP&#x0a;遊戲推薦,延遲低,免域名。</sys:String>

View File

@ -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&#x0a;性能数倍,首选方式。</sys:String> <sys:String x:Key="VlessXtlsDesc" xml:space="preserve">VLESS Over TCP With XTLS&#x0a;安全隐患,谨慎。</sys:String>
<sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS&#x0a;仍推荐XTLS。</sys:String> <sys:String x:Key="VlessTcpDesc" xml:space="preserve">VLESS over TCP with TLS&#x0a;推荐,主流。</sys:String>
<sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS&#x0a;推荐支持CDN。</sys:String> <sys:String x:Key="VlessWsDesc" xml:space="preserve">VLESS over WS with TLS&#x0a;推荐支持CDN。</sys:String>
<sys:String x:Key="VlessRpcDesc" xml:space="preserve">VLESS gRPC&#x0a;基于http2多路复用。</sys:String>
<sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP&#x0a;游戏推荐,延迟低,免域名。</sys:String> <sys:String x:Key="VlessKcpDesc" xml:space="preserve">VLESS mKCP&#x0a;游戏推荐,延迟低,免域名。</sys:String>
<sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS&#x0a;推荐支持CDN。</sys:String> <sys:String x:Key="VmessWsDesc" xml:space="preserve">VMESS over WS with TLS&#x0a;推荐支持CDN。</sys:String>
<sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP&#x0a;游戏推荐,延迟低,免域名。</sys:String> <sys:String x:Key="VmessKcpDesc" xml:space="preserve">VMESS mKCP&#x0a;游戏推荐,延迟低,免域名。</sys:String>

23
ProxySuper.WPF/Setup.cs Normal file
View 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;
}
}
}

View File

@ -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
{ {

View File

@ -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}"