Revision: 77130
http://sourceforge.net/p/brlcad/code/77130
Author: starseeker
Date: 2020-09-13 15:58:34 +0000 (Sun, 13 Sep 2020)
Log Message:
-----------
See if we can manipulate the startup directory of the shortcuts via NSIS
Modified Paths:
--------------
brlcad/trunk/misc/CMake/NSIS.template.in
Modified: brlcad/trunk/misc/CMake/NSIS.template.in
===================================================================
--- brlcad/trunk/misc/CMake/NSIS.template.in 2020-09-13 15:47:13 UTC (rev
77129)
+++ brlcad/trunk/misc/CMake/NSIS.template.in 2020-09-13 15:58:34 UTC (rev
77130)
@@ -654,7 +654,7 @@
!include LogicLib.nsh
; Create desktop icons
Function installdesktopicons
-SetOutPath $INSTDIR
+SetOutPath $PROFILE
CreateShortCut "$DESKTOP\Archer.lnk" "$INSTDIR\bin\archer.exe" ""
"$INSTDIR\@CPACK_DATA_DIR@\icons\archer.ico" 0
CreateShortCut "$DESKTOP\MGED.lnk" "$INSTDIR\bin\mged.exe" ""
"$INSTDIR\@CPACK_DATA_DIR@\icons\brlcad.ico" 0
CreateShortCut "$DESKTOP\RtWizard.lnk" "$INSTDIR\bin\rtwizard.exe" ""
"$INSTDIR\@CPACK_DATA_DIR@\icons\brlcad.ico" 0
@@ -716,6 +716,7 @@
;Create shortcuts
CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
+ SetOutPath $PROFILE
@CPACK_NSIS_CREATE_ICONS@
@CPACK_NSIS_CREATE_ICONS_EXTRA@
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Archer.lnk"
"$INSTDIR\bin\archer.exe" "" "$INSTDIR\@CPACK_DATA_DIR@\icons\archer.ico" 0
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits