Skip to content

Commit ae2edfa

Browse files
committed
Modify Windows installer build to enable compression in single-file executable
1 parent 8921716 commit ae2edfa

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,19 @@ jobs:
2929
Write-Host "Current directory structure:"
3030
dir -Recurse Assets
3131
32-
# Build mit spezifischen Windows-Flags
32+
# Build ohne Trimming
3333
dotnet restore
3434
dotnet build -c Release
3535
dotnet publish -c Release -r win-x64 `
3636
--self-contained true `
3737
-p:PublishSingleFile=true `
38-
-p:PublishTrimmed=true `
38+
-p:EnableCompressionInSingleFile=true `
3939
-p:PublishReadyToRun=true `
40-
-p:DebugType=none `
41-
/p:TrimMode=link
42-
43-
# Debug: Zeige Build-Output und Dateidetails
40+
-p:DebugType=none
41+
42+
# Debug: Zeige Build-Output
4443
Write-Host "Build output directory:"
4544
dir bin/Release/net8.0-windows/win-x64/publish
46-
Write-Host "File details:"
47-
Get-ItemProperty bin/Release/net8.0-windows/win-x64/publish/"BambuCAM Setup.exe"
4845
4946
- name: Create Release
5047
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)