From 8b004543ede673e3c16d967d4362d1eb94b801f1 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Fri, 27 Nov 2020 18:17:49 -0800 Subject: [PATCH] update nsis script to make installed start menu link use icon --- nsis/cwtch-installer.nsi | 5 +++-- nsis/knot.ico => windows/cwtch.ico | Bin 2 files changed, 3 insertions(+), 2 deletions(-) rename nsis/knot.ico => windows/cwtch.ico (100%) diff --git a/nsis/cwtch-installer.nsi b/nsis/cwtch-installer.nsi index e1e2f7cd..0199286e 100644 --- a/nsis/cwtch-installer.nsi +++ b/nsis/cwtch-installer.nsi @@ -26,7 +26,7 @@ InstallDirRegKey HKCU "Software\Cwtch" "installLocation" !define MUI_INSTALLCOLORS "DFB9DE 281831" -!define MUI_ICON "..\nsis\knot.ico" +!define MUI_ICON "..\windows\cwtch.ico" !define MUI_HEADERIMAGE @@ -83,7 +83,8 @@ Section # create a shortcut in the start menu programs directory - CreateShortcut "$SMPROGRAMS\Cwtch.lnk" "$INSTDIR\ui.exe" + CreateDirectory "$SMPROGRAMS\Cwtch" + CreateShortcut "$SMPROGRAMS\Cwtch\Cwtch.lnk" "$INSTDIR\ui.exe" "" "$INSTDIR\cwtch.ico" ;Store installation folder WriteRegStr HKCU "Software\Cwtch" "installLocation" $INSTDIR diff --git a/nsis/knot.ico b/windows/cwtch.ico similarity index 100% rename from nsis/knot.ico rename to windows/cwtch.ico