Ver Fonte

只保留.net6

陈国伟 há 4 anos atrás
pai
commit
f83f86cb3c
2 ficheiros alterados com 29 adições e 29 exclusões
  1. 27 27
      FastGithub/FastGithub.csproj
  2. 2 2
      FastGithub/zip.sh

+ 27 - 27
FastGithub/FastGithub.csproj

@@ -1,34 +1,34 @@
 <Project Sdk="Microsoft.NET.Sdk.Web">
 <Project Sdk="Microsoft.NET.Sdk.Web">
 
 
-	<PropertyGroup>
-		<OutputType>Exe</OutputType>
-		<TargetFrameworks>net5.0;net6.0</TargetFrameworks>
-		<PackageLicenseExpression>MIT</PackageLicenseExpression>
-		<IsWebConfigTransformDisabled>true</IsWebConfigTransformDisabled>
-		<ApplicationIcon>app.ico</ApplicationIcon>
-		<ApplicationManifest>app.manifest</ApplicationManifest>
-	</PropertyGroup>
+  <PropertyGroup>
+    <OutputType>Exe</OutputType>
+    <TargetFramework>net6.0</TargetFramework>
+    <PackageLicenseExpression>MIT</PackageLicenseExpression>
+    <IsWebConfigTransformDisabled>true</IsWebConfigTransformDisabled>
+    <ApplicationIcon>app.ico</ApplicationIcon>
+    <ApplicationManifest>app.manifest</ApplicationManifest>
+  </PropertyGroup>
 
 
-	<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
-		<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
-	</PropertyGroup>
+  <PropertyGroup Condition="'$(TargetFramework)' == 'net6.0'">
+    <EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
+  </PropertyGroup>
 
 
-	<ItemGroup>
-		<PackageReference Include="PInvoke.AdvApi32" Version="0.7.104" />
-		<PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="5.0.1" />
-		<ProjectReference Include="..\FastGithub.Dns\FastGithub.Dns.csproj" />
-		<ProjectReference Include="..\FastGithub.DomainResolve\FastGithub.DomainResolve.csproj" />
-		<ProjectReference Include="..\FastGithub.ReverseProxy\FastGithub.ReverseProxy.csproj" />
-		<ProjectReference Include="..\FastGithub.Upgrade\FastGithub.Upgrade.csproj" />
-	</ItemGroup>
+  <ItemGroup>
+    <PackageReference Include="PInvoke.AdvApi32" Version="0.7.104" />
+    <PackageReference Include="Microsoft.Extensions.Hosting.WindowsServices" Version="5.0.1" />
+    <ProjectReference Include="..\FastGithub.Dns\FastGithub.Dns.csproj" />
+    <ProjectReference Include="..\FastGithub.DomainResolve\FastGithub.DomainResolve.csproj" />
+    <ProjectReference Include="..\FastGithub.ReverseProxy\FastGithub.ReverseProxy.csproj" />
+    <ProjectReference Include="..\FastGithub.Upgrade\FastGithub.Upgrade.csproj" />
+  </ItemGroup>
 
 
-	<ItemGroup>
-		<None Update="appsettings.*">
-			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-		</None>
-		<None Update="README.*">
-			<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
-		</None>
-	</ItemGroup>
+  <ItemGroup>
+    <None Update="appsettings.*">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </None>
+    <None Update="README.*">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </None>
+  </ItemGroup>
 
 
 </Project>
 </Project>

+ 2 - 2
FastGithub/zip.sh

@@ -2,8 +2,8 @@
 cd ./bin/publish
 cd ./bin/publish
 
 
 # linux
 # linux
-chmod +777 ./linux-x64/dnscrypt-proxy
-chmod +777 ./linux-x64/FastGithub
+chmod 777 ./linux-x64/dnscrypt-proxy
+chmod 777 ./linux-x64/FastGithub
 zip -r linux-x64.zip linux-x64
 zip -r linux-x64.zip linux-x64
 
 
 # windows
 # windows