[X2Go-Commits] [pyhoca-gui] 07/08: NSIS script: make sure SetOutPath gets called at the beginning of every section.
git-admin at x2go.org
git-admin at x2go.org
Fri Feb 21 11:11:05 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch brokerclient
in repository pyhoca-gui.
commit df0e1ad70582e58b247d14bc554a9f956689b332
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Fri Feb 21 00:22:23 2014 +0100
NSIS script: make sure SetOutPath gets called at the beginning of every section.
---
debian/changelog | 2 ++
nsis_template.py | 2 ++
2 files changed, 4 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f50cc1f..a281687 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,8 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low
* Allow appname based mini icons on About... windows.
* Make the hover text of the tray icon brandable (drop hard-coded
PyHoca-GUI application name).
+ * NSIS script: make sure SetOutPath gets called at the beginning of
+ every section.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Wed, 08 Jan 2014 21:28:37 +0100
diff --git a/nsis_template.py b/nsis_template.py
index 3adf94f..42daf46 100644
--- a/nsis_template.py
+++ b/nsis_template.py
@@ -264,6 +264,7 @@ SectionEnd
; Optional section (can be disabled by the user)
Section "$STARTMENU_LINKS"
+ SetOutPath "$INSTDIR"
CreateDirectory "$SMPROGRAMS\\{program_name}"
CreateShortCut "$SMPROGRAMS\\{program_name}\\{program_name}.lnk" "$INSTDIR\\{program_name}.exe" "--quiet --start-xserver --start-pulseaudio --lang $LC_MESSAGES" "$INSTDIR\\icons\\{program_name}.ico" 0
CreateShortCut "$SMPROGRAMS\\{program_name}\\{program_name} ($WITHOUT_PULSEAUDIO).lnk" "$INSTDIR\\{program_name}.exe" "--quiet --start-xserver --lang $LC_MESSAGES" "$INSTDIR\\icons\\{program_name}.ico" 0
@@ -277,6 +278,7 @@ SectionEnd
; Optional section (can be disabled by the user)
Section "$DESKTOP_LINKS"
+ SetOutPath "$INSTDIR"
CreateShortCut "$DESKTOP\\{program_name}.lnk" "$INSTDIR\\{program_name}.exe" "--quiet --start-xserver --start-pulseaudio --lang $LC_MESSAGES" "$INSTDIR\\icons\\{program_name}.ico" 0
SectionEnd
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
More information about the x2go-commits
mailing list