From c6c9f62bdb37bd1d44ab704d4266aa266bdd2bc5 Mon Sep 17 00:00:00 2001 From: leo Date: Mon, 14 Dec 2020 13:02:22 +0800 Subject: [PATCH] update: use SatelliteResourceLanguages to trim language cultures --- build.ps1 | 3 +-- src/SourceGit.csproj | 7 ++----- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/build.ps1 b/build.ps1 index 211c81b8..cd68828a 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,7 +1,6 @@ cd src dotnet publish -c Release -r win-x64 -o ..\publish\ -p:PublishSingleFile=true -p:PublishTrimmed=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained=true -Compress-Archive -Path ..\publish\SourceGit.exe -DestinationPath ..\publish\SourceGit.zip -del /f /s /q ..\publish\SourceGit.exe +Compress-Archive -Update -Path ..\publish\SourceGit.exe -DestinationPath ..\publish\SourceGit.zip dotnet publish -c Release -r win-x64 -o ..\publish\ -p:PublishSingleFile=true --self-contained=false \ No newline at end of file diff --git a/src/SourceGit.csproj b/src/SourceGit.csproj index 74ec0e1d..36d4aee9 100644 --- a/src/SourceGit.csproj +++ b/src/SourceGit.csproj @@ -15,11 +15,8 @@ https://gitee.com/sourcegit/SourceGit.git Public true - - - - none - false + embedded + none