1
0
mirror of https://github.com/proxysu/ProxySU.git synced 2024-11-25 22:56:09 +03:00

fix install cert issue

This commit is contained in:
next-autumn 2021-05-26 19:12:13 +08:00
parent b614bc676c
commit dc7abb66b2
6 changed files with 20 additions and 12 deletions

View File

@ -105,15 +105,16 @@ namespace ProxySuper.Core.Services
ValidateDomain(); ValidateDomain();
WriteOutput("域名检测完成"); WriteOutput("域名检测完成");
WriteOutput("安装Trojan-Go...");
InstallTrojanGo();
WriteOutput("Trojan-Go安装完成");
WriteOutput("安装Caddy..."); WriteOutput("安装Caddy...");
InstallCaddy(); InstallCaddy();
UploadCaddyFile(); UploadCaddyFile();
WriteOutput("Caddy安装完成"); WriteOutput("Caddy安装完成");
WriteOutput("安装Trojan-Go...");
InstallTrojanGo();
WriteOutput("Trojan-Go安装完成");
WriteOutput("启动BBR"); WriteOutput("启动BBR");
EnableBBR(); EnableBBR();

View File

@ -78,14 +78,14 @@ namespace ProxySuper.Core.Services
ValidateDomain(); ValidateDomain();
WriteOutput("域名检测完成"); WriteOutput("域名检测完成");
WriteOutput("安装Xray-Core...");
InstallXrayWithCert();
WriteOutput("Xray-Core安装完成");
WriteOutput("安装Caddy..."); WriteOutput("安装Caddy...");
InstallCaddy(); InstallCaddy();
WriteOutput("Caddy安装完成"); WriteOutput("Caddy安装完成");
WriteOutput("安装Xray-Core...");
InstallXrayWithCert();
WriteOutput("Xray-Core安装完成");
WriteOutput("启动BBR"); WriteOutput("启动BBR");
EnableBBR(); EnableBBR();

View File

@ -2,6 +2,10 @@
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
  <AllowedReferenceRelatedFileExtensions>
    <!-- 阻止默认的 XML 和 PDB 文件复制到 RELEASE 的输出目录. 只有*.allowedextension 扩展名的文件可以被包含, 当然这个扩展的文件并不存在.-->
    .allowedextension
  </AllowedReferenceRelatedFileExtensions>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{B083EBFD-2925-46C9-8B00-E2C1300CEBA1}</ProjectGuid> <ProjectGuid>{B083EBFD-2925-46C9-8B00-E2C1300CEBA1}</ProjectGuid>
@ -16,6 +20,8 @@
<Deterministic>true</Deterministic> <Deterministic>true</Deterministic>
<NuGetPackageImportStamp> <NuGetPackageImportStamp>
</NuGetPackageImportStamp> </NuGetPackageImportStamp>
<IsWebBootstrapper>false</IsWebBootstrapper>
<TargetFrameworkProfile />
<PublishUrl>publish\</PublishUrl> <PublishUrl>publish\</PublishUrl>
<Install>true</Install> <Install>true</Install>
<InstallFrom>Disk</InstallFrom> <InstallFrom>Disk</InstallFrom>
@ -28,18 +34,16 @@
<MapFileExtensions>true</MapFileExtensions> <MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision> <ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion> <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<IsWebBootstrapper>false</IsWebBootstrapper>
<UseApplicationTrust>false</UseApplicationTrust> <UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled> <BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType> <DebugType>full</DebugType>
<Optimize>false</Optimize> <Optimize>true</Optimize>
<OutputPath>bin\Debug\</OutputPath> <OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants> <DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>

View File

@ -22,6 +22,7 @@
BorderThickness="0" BorderThickness="0"
VerticalAlignment="Top" VerticalAlignment="Top"
VerticalContentAlignment="Top" VerticalContentAlignment="Top"
TextWrapping="WrapWithOverflow"
Text="{Binding Path=OutputText}" Text="{Binding Path=OutputText}"
/> />

View File

@ -22,6 +22,7 @@
BorderThickness="0" BorderThickness="0"
VerticalAlignment="Top" VerticalAlignment="Top"
VerticalContentAlignment="Top" VerticalContentAlignment="Top"
TextWrapping="WrapWithOverflow"
Text="{Binding Path=OutputText}" Text="{Binding Path=OutputText}"
/> />

View File

@ -22,6 +22,7 @@
BorderThickness="0" BorderThickness="0"
VerticalAlignment="Top" VerticalAlignment="Top"
VerticalContentAlignment="Top" VerticalContentAlignment="Top"
TextWrapping="WrapWithOverflow"
Text="{Binding Path=OutputText}" Text="{Binding Path=OutputText}"
/> />