拼写错误修改
This commit is contained in:
parent
1fc925b7bd
commit
004b55c728
@ -2,7 +2,7 @@
|
||||
|
||||
namespace FastGithub.HttpServer
|
||||
{
|
||||
class CaCertInstallerOfLinuxDebain : CaCertInstallerOfLinux
|
||||
class CaCertInstallerOfLinuxDebian : CaCertInstallerOfLinux
|
||||
{
|
||||
public override string RootCertPath => "/usr/local/share/ca-certificates";
|
||||
|
||||
@ -14,7 +14,7 @@ namespace FastGithub.HttpServer
|
||||
/// <returns></returns>
|
||||
public override bool IsSupported()
|
||||
{
|
||||
return OperatingSystem.IsLinux() && base.IsReleasName("Debain");
|
||||
return OperatingSystem.IsLinux() && base.IsReleasName("Debian");
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
namespace FastGithub.HttpServer
|
||||
{
|
||||
sealed class CaCertInstallerOfLinuxUbuntu : CaCertInstallerOfLinuxDebain
|
||||
sealed class CaCertInstallerOfLinuxUbuntu : CaCertInstallerOfLinuxDebian
|
||||
{
|
||||
/// <summary>
|
||||
/// 是否支持
|
||||
|
||||
@ -21,7 +21,7 @@ namespace FastGithub
|
||||
.AddSingleton<ICaCertInstaller, CaCertInstallerOfMacOS>()
|
||||
.AddSingleton<ICaCertInstaller, CaCertInstallerOfWindows>()
|
||||
.AddSingleton<ICaCertInstaller, CaCertInstallerOfLinuxCentOS>()
|
||||
.AddSingleton<ICaCertInstaller, CaCertInstallerOfLinuxDebain>()
|
||||
.AddSingleton<ICaCertInstaller, CaCertInstallerOfLinuxDebian>()
|
||||
.AddSingleton<ICaCertInstaller, CaCertInstallerOfLinuxUbuntu>()
|
||||
.AddSingleton<HttpProxyMiddleware>()
|
||||
.AddSingleton<RequestLoggingMiddleware>()
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
set output=./publish
|
||||
if exist "%output%" rd /S /Q "%output%"
|
||||
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=false --self-contained -r linux-x64 -o "%output%/fastgithub_linux-x64" ./FastGithub/FastGithub.csproj
|
||||
dotnet publish -c Release -o "%output%/fastgithub_win-x64" ./FastGithub.UI/FastGithub.UI.csproj
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained -r win-x64 -o "%output%/fastgithub_win-x64" ./FastGithub/FastGithub.csproj
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained -r linux-x64 -o "%output%/fastgithub_linux-x64" ./FastGithub/FastGithub.csproj
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained -r linux-arm64 -o "%output%/fastgithub_linux-arm64" ./FastGithub/FastGithub.csproj
|
||||
dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained -r osx-x64 -o "%output%/fastgithub_osx-x64" ./FastGithub/FastGithub.csproj
|
||||
Loading…
Reference in New Issue
Block a user