diff --git a/ProxySU/MainWindow.xaml.cs b/ProxySU/MainWindow.xaml.cs index 0c6f8aad..5dab1724 100644 --- a/ProxySU/MainWindow.xaml.cs +++ b/ProxySU/MainWindow.xaml.cs @@ -798,8 +798,9 @@ private void StartSetUpRemoteHost(ConnectionInfo connectionInfo,TextBlock textBl UploadConfig(connectionInfo, serverConfig, upLoadPath); //设置Caddyfile文件中的tls 邮箱 - string sshCmdEmail = $"email={ReceiveConfigurationParameters[4]};email=${{email/./@}};echo $email";//结尾有回车符 - string email = client.RunCommand(sshCmdEmail).Result.Replace("\n", "");//删除结尾的回车符 + //string sshCmdEmail = $"email={ReceiveConfigurationParameters[4]};email=${{email/./@}};echo $email";//结尾有回车符 + //string email = client.RunCommand(sshCmdEmail).Result.Replace("\n", "");//删除结尾的回车符 + string email = $"admin@{ReceiveConfigurationParameters[4]}"; string sshCmd = $"sed -i 's/off/{email}/' {upLoadPath}";//设置Caddyfile中的邮箱 client.RunCommand(sshCmd); //设置Path diff --git a/ProxySU/bin/Release/ProxySU.exe b/ProxySU/bin/Release/ProxySU.exe index 0e022cc5..fa6d26f9 100644 Binary files a/ProxySU/bin/Release/ProxySU.exe and b/ProxySU/bin/Release/ProxySU.exe differ diff --git a/ProxySU/bin/Release/Release.zip b/ProxySU/bin/Release/Release.zip index 8eb59cdb..a6ccaa07 100644 Binary files a/ProxySU/bin/Release/Release.zip and b/ProxySU/bin/Release/Release.zip differ