From b9a4497fa4bbd85a0241009b42780ce61eb7eeb7 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Mon, 17 Mar 2025 02:39:08 +0100 Subject: [PATCH] add application icon --- wix/.gitignore | 3 ++- wix/LanMouseComponents.wxs | 12 ++++++++++-- wix/build.ps1 | 2 ++ wix/package.wxs | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 wix/build.ps1 diff --git a/wix/.gitignore b/wix/.gitignore index 0a079b6..38eac8c 100644 --- a/wix/.gitignore +++ b/wix/.gitignore @@ -1,2 +1,3 @@ /bin -/obj \ No newline at end of file +/obj +icon.ico diff --git a/wix/LanMouseComponents.wxs b/wix/LanMouseComponents.wxs index 666a8ce..c6d8800 100644 --- a/wix/LanMouseComponents.wxs +++ b/wix/LanMouseComponents.wxs @@ -9,9 +9,17 @@ Name="!(bind.Property.ProductName)" Description ="Mouse and Keyboard sharing Software" Target="[INSTALLFOLDER]lan-mouse.exe" - WorkingDirectory="INSTALLFOLDER"/> + WorkingDirectory="INSTALLFOLDER"> + + - + diff --git a/wix/build.ps1 b/wix/build.ps1 new file mode 100644 index 0000000..9cf1f3e --- /dev/null +++ b/wix/build.ps1 @@ -0,0 +1,2 @@ +magick -background none -density 384 ..\lan-mouse-gtk\resources\de.feschber.LanMouse.svg -trim -define icon:auto-resize icon.ico +dotnet build diff --git a/wix/package.wxs b/wix/package.wxs index dc1ff8c..4bbfd55 100644 --- a/wix/package.wxs +++ b/wix/package.wxs @@ -6,7 +6,7 @@ UpgradeCode="a330cd60-4c35-4a54-8bb6-75b3049b46c6"> - +