From eaca464f9cab7596f4bf2c74c286e2fb84f12144 Mon Sep 17 00:00:00 2001 From: proxysu Date: Sat, 27 Nov 2021 11:47:31 +0800 Subject: [PATCH] update... --- ProxySuper.Core/Services/XrayService.cs | 3 +-- .../Views/V2ray/V2rayConfigView.xaml | 1 + .../Views/V2ray/V2rayConfigView.xaml.cs | 16 ++++++++++++++++ ProxySuper.WPF/Views/Xray/XrayConfigView.xaml | 1 + .../Views/Xray/XrayConfigView.xaml.cs | 19 +++++++++++++++++-- 5 files changed, 36 insertions(+), 4 deletions(-) diff --git a/ProxySuper.Core/Services/XrayService.cs b/ProxySuper.Core/Services/XrayService.cs index dce2df3..4c62dc9 100644 --- a/ProxySuper.Core/Services/XrayService.cs +++ b/ProxySuper.Core/Services/XrayService.cs @@ -268,7 +268,7 @@ namespace ProxySuper.Core.Services } - #region 似有方法 + #region 私有方法 private void DoUploadCert(object sender, CancelEventArgs e) { @@ -424,7 +424,6 @@ namespace ProxySuper.Core.Services WriteToFile(configJson, "/etc/caddy/Caddyfile"); } - private void UninstallXray() { Progress.Desc = "关闭Xray服务"; diff --git a/ProxySuper.WPF/Views/V2ray/V2rayConfigView.xaml b/ProxySuper.WPF/Views/V2ray/V2rayConfigView.xaml index 1bd3a07..728e2ab 100644 --- a/ProxySuper.WPF/Views/V2ray/V2rayConfigView.xaml +++ b/ProxySuper.WPF/Views/V2ray/V2rayConfigView.xaml @@ -22,6 +22,7 @@ BorderThickness="1,0,1,0" BorderBrush="#DDD" TabStripPlacement="Left" + x:Name="TabCtrl" SelectionChanged="BuildQrCode">