[X2Go-Commits] [x2goclient] 01/01: x2goclient.nsi: Add support for debug build.

git-admin at x2go.org git-admin at x2go.org
Fri May 8 23:22:00 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2goclient.

commit 06639b6e62a2485f3005df2d909394575b39b640
Author: Mike DePaulo <mikedep333 at gmail.com>
Date:   Fri May 8 17:14:47 2015 -0400

    x2goclient.nsi: Add support for debug build.
    
    Make it optional and not installed by default.
---
 nsis/x2goclient.nsi |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/nsis/x2goclient.nsi b/nsis/x2goclient.nsi
index a0cafc5..43b6f54 100644
--- a/nsis/x2goclient.nsi
+++ b/nsis/x2goclient.nsi
@@ -109,7 +109,7 @@ Section "X2Go Client (required)" base
   SectionIn RO
 
   SetOutPath "$INSTDIR"
-  File /a "x2goclient\*.*"
+  File /a /x x2goclient.debug.exe "x2goclient\*.*"
   File /r "x2goclient\pulse"
   File /r /x "fonts" "x2goclient\VcXsrv"
 
@@ -206,6 +206,14 @@ Section "Desktop Shortcut" desktopshortcut
   CreateShortCut "$DESKTOP\X2Go Client.lnk" "$INSTDIR\x2goclient.exe"
 SectionEnd
 
+Section "Debug Build" debugbuild
+    SectionIn 2
+    SetOutPath "$INSTDIR"
+    File "x2goclient\x2goclient.debug.exe"
+    CreateShortCut "$INSTDIR\X2Go Client (Debug).lnk" "$INSTDIR\x2goclient.debug.exe" "--debug"
+    CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\X2Go Client (Debug).lnk" "$INSTDIR\x2goclient.debug.exe" "--debug"
+SectionEnd
+
 Section -EstimatedSize
   SectionIn RO
   ${GetSize} "$INSTDIR" "/S=0K" $0 $1 $2
@@ -243,6 +251,7 @@ Section "Uninstall"
   !insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
   Delete "$SMPROGRAMS\$MUI_TEMP\Uninstall.lnk"
   Delete "$SMPROGRAMS\$MUI_TEMP\X2Go Client.lnk"
+  Delete "$SMPROGRAMS\$MUI_TEMP\X2Go Client (Debug).lnk"
   Delete "$DESKTOP\X2Go Client.lnk"
   StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
   startMenuDeleteLoop:

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list