From 49c21111fba48fa17bab81a6f6578ea7344ee79d Mon Sep 17 00:00:00 2001 From: xljiulang <366193849@qq.com> Date: Tue, 27 Jul 2021 21:42:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=84=9A=E6=9C=AC=E6=94=BE?= =?UTF-8?q?=E5=88=B0=E8=A7=A3=E5=86=B3=E6=96=B9=E6=A1=88=E6=A0=B9=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FastGithub.DomainResolve.csproj | 55 +++++++++---------- FastGithub/.config/dotnet-tools.json | 12 ---- FastGithub/FastGithub.csproj | 45 +++++++-------- FastGithub/pack.sh => pack.sh | 2 +- FastGithub/publish.cmd => publish.cmd | 1 + 5 files changed, 49 insertions(+), 66 deletions(-) delete mode 100644 FastGithub/.config/dotnet-tools.json rename FastGithub/pack.sh => pack.sh (91%) rename FastGithub/publish.cmd => publish.cmd (96%) diff --git a/FastGithub.DomainResolve/FastGithub.DomainResolve.csproj b/FastGithub.DomainResolve/FastGithub.DomainResolve.csproj index 7b2c177..a064153 100644 --- a/FastGithub.DomainResolve/FastGithub.DomainResolve.csproj +++ b/FastGithub.DomainResolve/FastGithub.DomainResolve.csproj @@ -1,37 +1,34 @@  - - - - - + + + + + + - - - PreserveNewest - - + + + PreserveNewest + + - - - PreserveNewest - - + + + PreserveNewest + + - - - PreserveNewest - - + + + PreserveNewest + + - - - PreserveNewest - - - - - - + + + PreserveNewest + + diff --git a/FastGithub/.config/dotnet-tools.json b/FastGithub/.config/dotnet-tools.json deleted file mode 100644 index 2ae5996..0000000 --- a/FastGithub/.config/dotnet-tools.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": 1, - "isRoot": true, - "tools": { - "dotnet-ef": { - "version": "5.0.8", - "commands": [ - "dotnet-ef" - ] - } - } -} \ No newline at end of file diff --git a/FastGithub/FastGithub.csproj b/FastGithub/FastGithub.csproj index e6df12a..8a9ad1a 100644 --- a/FastGithub/FastGithub.csproj +++ b/FastGithub/FastGithub.csproj @@ -1,30 +1,27 @@  - - Exe - net6.0 - MIT - true - app.ico - app.manifest - + + Exe + net6.0 + MIT + true + app.ico + app.manifest + true + - - true - + + + + + + + - - - - - - - - - - - PreserveNewest - - + + + PreserveNewest + + diff --git a/FastGithub/pack.sh b/pack.sh similarity index 91% rename from FastGithub/pack.sh rename to pack.sh index 7026484..844ebc3 100644 --- a/FastGithub/pack.sh +++ b/pack.sh @@ -1,5 +1,5 @@ #! /bin/bash -cd ./bin/publish +cd ./FastGithub/bin/publish # linux-x64 chmod 777 ./linux-x64/dnscrypt-proxy diff --git a/FastGithub/publish.cmd b/publish.cmd similarity index 96% rename from FastGithub/publish.cmd rename to publish.cmd index 2168182..e6d5929 100644 --- a/FastGithub/publish.cmd +++ b/publish.cmd @@ -1,3 +1,4 @@ +cd ./FastGithub set output=./bin/publish if exist "%output%" rd /S /Q "%output%" dotnet publish -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true -r win-x64 -o "%output%/win-x64"