summaryrefslogtreecommitdiff
path: root/packaging/windows/setup.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/setup.nsi')
-rw-r--r--packaging/windows/setup.nsi11
1 files changed, 10 insertions, 1 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index a68f9cbb2..e160204cb 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -356,6 +356,13 @@ Section /o "Portable" SecPortable
File "portable.xml"
SectionEnd
+Section /o "Debugger" SecDebug
+ SetOutPath "$INSTDIR"
+ File "${DLLDIR}\gdb.exe"
+ CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe"
+ CreateShortCut "$DESKTOP\ManaPlus (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe"
+SectionEnd
+
Section /o "Evol Online music" SecEvolMusic
AddSize 9787
CreateDirectory "$INSTDIR\data\music"
@@ -396,10 +403,10 @@ SectionEnd
!insertmacro MUI_DESCRIPTION_TEXT ${SecEvol} "Create shortcuts for Evol Online."
!insertmacro MUI_DESCRIPTION_TEXT ${SecEvolMusic} "Background evol music. (If selected the evol music will be downloaded from the internet.)"
!insertmacro MUI_DESCRIPTION_TEXT ${SecTrans} "Translations for the user interface. Uncheck this component to leave it in English."
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecDebug} "Install debugger for try to find stability problems."
!insertmacro MUI_FUNCTION_DESCRIPTION_END
-
Section -AdditionalIcons
WriteIniStr "$INSTDIR\${PRODUCT_NAME}.url" "InternetShortcut" "URL" "${PRODUCT_WEB_SITE}"
CreateShortCut "$SMPROGRAMS\Mana\Website.lnk" "$INSTDIR\${PRODUCT_NAME}.url"
@@ -431,8 +438,10 @@ Section Uninstall
Delete "$SMPROGRAMS\Mana\Uninstall.lnk"
Delete "$DESKTOP\ManaPlus.lnk"
+ Delete "$DESKTOP\ManaPlus (debug).lnk"
Delete "$DESKTOP\ManaPlus (tests).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus.lnk"
+ Delete "$SMPROGRAMS\Mana\ManaPlus (debug).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus (no opengl).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus (safemode).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus (tests).lnk"