summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 15:52:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 15:52:42 +0000
commit7d3a6d52286641d9d3b61e57aae8f72e8c509a11 (patch)
tree2f5ed1ca8a8b7839e940914a8d2086a3979474c0 /win
parentc77bbc127792a2d136db636e163311c97e83bc5e (diff)
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
Diffstat (limited to 'win')
-rw-r--r--win/inspircd.nsi4
1 files 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