commit 764aac86faf3fee869f72a8750cf8b95dfb36007
parent 0fd932491b99e1792b58a58d0f0e643c81a062ab
Author: mrbesen <y.g.2@gmx.de>
Date: Wed, 21 Feb 2024 16:17:17 +0100
add windows icon
Diffstat:
3 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
@@ -10,3 +10,5 @@ debian/cnping
debian/cnping.substvars
debian/debhelper-build-stamp
debian/files
+
+cnping.ico
diff --git a/Makefile b/Makefile
@@ -76,4 +76,5 @@ updateicons : ${ICONSPATH}scalable/apps/${APPNAME}.svg
convert $^ -resize 48x48 ${ICONSPATH}48x48/apps/${APPNAME}.png
convert $^ -resize 256x256 ${ICONSPATH}256x256/apps/${APPNAME}.png
convert $^ -resize 1024x1024 ${ICONSPATH}1024x1024/apps/${APPNAME}.png
+ convert $^ -density 300 -define icon:auto-resize=256,128,96,64,48,32,16 -background none cnping.ico
diff --git a/resources.rc b/resources.rc
@@ -22,3 +22,4 @@ BEGIN
PUSHBUTTON "&Close", 8, 175, 80, 100, 10
END
+MAIN_ICON ICON "cnping.ico"