Improve building

This commit is contained in:
2025-12-11 19:09:39 +03:00
parent 975428a00c
commit 81b42946f8
2 changed files with 15 additions and 11 deletions

View File

@@ -197,11 +197,12 @@ build_for_arch() {
rm -rf "$(dirname "$PROJECT")/bin/Release/net8.0" || true
dotnet publish "$PROJECT" \
-c Release -r "$rid" \
--sc \
-p:PublishSingleFile=false \
-p:SelfContained=true \
-p:IncludeNativeLibrariesForSelfExtract=true \
-p:StripSymbols=true
-p:PublishSingleFile=false \
-p:PublishTrimmed=false \
-p:DebugType=none \
-p:DebugSymbols=false \
-p:IncludeNativeLibrariesForSelfExtract=true
# Per-arch variables (scoped)
local RID_DIR="$rid"