aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/windows
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-28 13:37:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-28 15:29:13 -0800
commitd0f807f0eda281e65d3d1c24d5d2cce1f7381479 (patch)
treef4e3d75fbf10b39cd8a03c39b139d91e7a168eb5 /packaging/windows
parentf8c2efe1ce7b2a04d8d6970221915c060827125b (diff)
downloadsubsurface-d0f807f0eda281e65d3d1c24d5d2cce1f7381479.tar.gz
subsurface.nsi.in: set icons for the executable shortcuts
The executable shortcuts were lacking icons. This should do the trick, by using the packaged subsurface.ico. Perhaps it would be better if we hardcode the icon into the executable as a resource. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/windows')
-rw-r--r--packaging/windows/subsurface.nsi.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/windows/subsurface.nsi.in b/packaging/windows/subsurface.nsi.in
index 4b72e1eeb..2631689fd 100644
--- a/packaging/windows/subsurface.nsi.in
+++ b/packaging/windows/subsurface.nsi.in
@@ -127,9 +127,9 @@ Section
# Create shortcuts
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
- CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Subsurface.lnk" "$INSTDIR\subsurface.exe"
+ CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Subsurface.lnk" "$INSTDIR\subsurface.exe" "" "$INSTDIR\subsurface.ico" 0
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall Subsurface.lnk" "$INSTDIR\Uninstall.exe"
- CreateShortCut "$DESKTOP\Subsurface.lnk" "$INSTDIR\subsurface.exe" ""
+ CreateShortCut "$DESKTOP\Subsurface.lnk" "$INSTDIR\subsurface.exe" "" "$INSTDIR\subsurface.ico" 0
!insertmacro MUI_STARTMENU_WRITE_END
# Create the uninstaller