summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/inspircd.nsi16
1 files changed, 11 insertions, 5 deletions
diff --git a/win/inspircd.nsi b/win/inspircd.nsi
index 25b97cd92..40c15053d 100644
--- a/win/inspircd.nsi
+++ b/win/inspircd.nsi
@@ -1,4 +1,10 @@
-; Script generated by the HM NIS Edit Script Wizard.
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+ ;;;; SET THE BUILD TO BE PACKAGED HERE ;;;;
+
+!define BUILD "release"
+
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "InspIRCd"
@@ -118,12 +124,12 @@ Section "Binary Executable" SEC01
Call IsDotNetInstalled
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
- File "..\bin\debug\InspGUI.exe"
+ File "..\bin\${BUILD}\InspGUI.exe"
CreateDirectory "$SMPROGRAMS\InspIRCd"
CreateShortCut "$SMPROGRAMS\InspIRCd\InspIRCd.lnk" "$INSTDIR\InspGUI.exe"
SetOutPath "$INSTDIR\bin"
SetOverwrite ifnewer
- File "..\bin\debug\bin\inspircd.exe"
+ File "..\bin\${BUILD}\bin\inspircd.exe"
SectionEnd
Section "Config Files" SEC02
@@ -140,12 +146,12 @@ SectionEnd
Section "Command Handlers" SEC03
SetOutPath "$INSTDIR\lib"
- File "..\bin\debug\lib\cmd_*.so"
+ File "..\bin\${BUILD}\lib\cmd_*.so"
SectionEnd
Section "Modules" SEC04
SetOutPath "$INSTDIR\modules"
- File "..\bin\debug\modules\*.so"
+ File "..\bin\${BUILD}\modules\*.so"
SectionEnd
Section -AdditionalIcons