diff --git a/@libs/osx-x64/libSystem.Security.Cryptography.Native.Apple.dylib b/@libs/osx-x64/libSystem.Security.Cryptography.Native.Apple.dylib deleted file mode 100644 index 3a2d16b..0000000 Binary files a/@libs/osx-x64/libSystem.Security.Cryptography.Native.Apple.dylib and /dev/null differ diff --git a/Directory.Build.props b/Directory.Build.props index c1ac4ba..9e3363e 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -5,7 +5,7 @@ github加速神器 https://github.com/dotnetcore/FastGithub win-x64 - net5.0;net6.0 + net5.0 true diff --git a/FastGithub/FastGithub.csproj b/FastGithub/FastGithub.csproj index b2ee248..2b920e8 100644 --- a/FastGithub/FastGithub.csproj +++ b/FastGithub/FastGithub.csproj @@ -1,57 +1,47 @@  - - Exe - MIT - true - app.ico - app.manifest - + + Exe + MIT + true + app.ico + app.manifest + - - true - + + + + + + + - - - - - - - + + + + + + - - - - - - + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - - - PreserveNewest - - - PreserveNewest - - - - - - PreserveNewest - - + + + PreserveNewest + + + PreserveNewest + + diff --git a/pack.sh b/pack.sh index 6fcbde2..7e36ec6 100644 --- a/pack.sh +++ b/pack.sh @@ -1,5 +1,8 @@ #! /bin/bash cd ./FastGithub/bin/publish + +# win-x64 +zip -r FastGithub_win-x64.zip FastGithub_win-x64 -x "./FastGithub_win-x64/x86/*" -x "./FastGithub_win-x64/*.pdb" # linux-x64 chmod 777 ./FastGithub_linux-x64/FastGithub @@ -10,9 +13,3 @@ zip -r FastGithub_linux-x64.zip FastGithub_linux-x64 -x "./FastGithub_linux-x64/ chmod 777 ./FastGithub_osx-x64/FastGithub chmod 777 ./FastGithub_osx-x64/dnscryptproxy/dnscrypt-proxy zip -r FastGithub_osx-x64.zip FastGithub_osx-x64 -x "./FastGithub_osx-x64/x64/*" -x "./FastGithub_osx-x64/x86/*" -x "./FastGithub_osx-x64/*.pdb" - -# win10-x64 -zip -r FastGithub_win10-x64.zip FastGithub_win10-x64 -x "./FastGithub_win10-x64/x86/*" -x "./FastGithub_win10-x64/*.pdb" -x "./FastGithub_win10-x64/aspnetcorev2_inprocess.dll" - -# win7-x64 -zip -r FastGithub_win7-x64.zip FastGithub_win7-x64 -x "./FastGithub_win7-x64/x86/*" -x "./FastGithub_win7-x64/*.pdb" \ No newline at end of file diff --git a/publish.cmd b/publish.cmd index f1b3f37..1980883 100644 --- a/publish.cmd +++ b/publish.cmd @@ -1,7 +1,6 @@ cd ./FastGithub set output=./bin/publish if exist "%output%" rd /S /Q "%output%" -dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -f net6.0 --self-contained -r win-x64 -o "%output%/FastGithub_win10-x64" -dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -f net5.0 --self-contained -r win-x64 -o "%output%/FastGithub_win7-x64" -dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -f net6.0 --self-contained -r linux-x64 -o "%output%/FastGithub_linux-x64" -dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -f net6.0 --self-contained -r osx-x64 -o "%output%/FastGithub_osx-x64" \ No newline at end of file +dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained -r win-x64 -o "%output%/FastGithub_win-x64" +dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained -r linux-x64 -o "%output%/FastGithub_linux-x64" +dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true --self-contained -r osx-x64 -o "%output%/FastGithub_osx-x64" \ No newline at end of file