Skip to content

Commit 7f61612

Browse files
committed
Update installer project configuration for single-file publishing
1 parent bd9b365 commit 7f61612

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ jobs:
2525
run: |
2626
cd installer/BambuCAM.Installer
2727
dotnet publish -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true
28-
dir bin/Release/net8.0-windows/win-x64/publish # Korrigierter Pfad
28+
dir bin/Release/net8.0-windows/win-x64/publish # Debug output
2929
3030
- name: Create Release
3131
uses: softprops/action-gh-release@v1
3232
if: startsWith(github.ref, 'refs/tags/') # Nur bei Tags
3333
with:
3434
files: |
35-
installer/BambuCAM.Installer/bin/Release/net8.0-windows/win-x64/publish/BambuCAM.Installer.exe
35+
installer/BambuCAM.Installer/bin/Release/net8.0-windows/win-x64/publish/BambuCAM Setup.exe
3636
draft: false
3737
prerelease: false
3838
env:

installer/BambuCAM.Installer/BambuCAM.Installer.csproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
<PropertyGroup>
33
<OutputType>WinExe</OutputType>
44
<TargetFramework>net8.0-windows</TargetFramework>
5+
<Nullable>enable</Nullable>
56
<UseWPF>true</UseWPF>
6-
<ApplicationIcon>Assets\setup-icon.ico</ApplicationIcon>
7+
<ApplicationIcon>Resources\bambucam.ico</ApplicationIcon>
78
<AssemblyName>BambuCAM Setup</AssemblyName>
8-
<Version>1.0.0</Version>
9+
<PublishSingleFile>true</PublishSingleFile>
10+
<SelfContained>true</SelfContained>
11+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
912
<!-- Disable default compile items -->
1013
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
1114
<!-- Disable default XAML page items -->

0 commit comments

Comments
 (0)