Browse Source

update nsis script to make installed start menu link use icon

nsi
Dan Ballard 1 month ago
parent
commit
8b004543ed
2 changed files with 3 additions and 2 deletions
  1. +3
    -2
      nsis/cwtch-installer.nsi
  2. +0
    -0
      windows/cwtch.ico

+ 3
- 2
nsis/cwtch-installer.nsi View File

@@ -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


nsis/knot.ico → windows/cwtch.ico View File


Loading…
Cancel
Save