From 7d3a6d52286641d9d3b61e57aae8f72e8c509a11 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 21 May 2007 15:52:42 +0000 Subject: Shortcut working dir is set to SetOutPath value, fix this so that the working dir of the start menu shortcut is correct git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7091 e03df62e-2008-0410-955e-edbf42e46eb7 --- win/inspircd.nsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/inspircd.nsi b/win/inspircd.nsi index 5cade9c80..9242d4c6a 100644 --- a/win/inspircd.nsi +++ b/win/inspircd.nsi @@ -57,11 +57,11 @@ Section "Binary Executable" SEC01 SetOutPath "$INSTDIR" SetOverwrite ifnewer File "..\bin\debug\InspGUI.exe" + CreateDirectory "$SMPROGRAMS\InspIRCd" + CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\InspGUI.exe" SetOutPath "$INSTDIR\bin" SetOverwrite ifnewer File "..\bin\debug\bin\inspircd.exe" - CreateDirectory "$SMPROGRAMS\InspIRCd" - CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\InspGUI.exe" SectionEnd Section "Config Files" SEC02 -- cgit v1.2.3