summaryrefslogtreecommitdiff
path: root/packaging/windows/evol.nsi
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-06 01:12:11 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-06 04:11:26 +0300
commitb5aaeb9fe58a43717de109c7398f44b19193bc99 (patch)
tree9685f0f5df771c4c9d74915d7e380b897019c1b3 /packaging/windows/evol.nsi
parent77d26ae604cdbf50705870371f517d544674dd6f (diff)
downloadmv-b5aaeb9fe58a43717de109c7398f44b19193bc99.tar.gz
mv-b5aaeb9fe58a43717de109c7398f44b19193bc99.tar.bz2
mv-b5aaeb9fe58a43717de109c7398f44b19193bc99.tar.xz
mv-b5aaeb9fe58a43717de109c7398f44b19193bc99.zip
Fix shortcuts in portable windows version.
Diffstat (limited to 'packaging/windows/evol.nsi')
-rw-r--r--packaging/windows/evol.nsi6
1 files changed, 4 insertions, 2 deletions
diff --git a/packaging/windows/evol.nsi b/packaging/windows/evol.nsi
index 5b84a2ff7..8a84b7673 100644
--- a/packaging/windows/evol.nsi
+++ b/packaging/windows/evol.nsi
@@ -358,8 +358,10 @@ SectionEnd
Section /o "Debugger" SecDebug
SetOutPath "$INSTDIR"
File "${DLLDIR}\gdb.exe"
- CreateShortCut "$SMPROGRAMS\EvolOnline\EvolOnline (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe" 1
- CreateShortCut "$DESKTOP\EvolOnline (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe" 1
+ ${If} ${SectionIsSelected} ${SecShortcuts}
+ CreateShortCut "$SMPROGRAMS\EvolOnline\EvolOnline (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe" 1
+ CreateShortCut "$DESKTOP\EvolOnline (debug).lnk" '"$INSTDIR\gdb.exe"' '"$INSTDIR\manaplus.exe"' "$INSTDIR\manaplus.exe" 1
+ ${EndIf}
SectionEnd
Section /o "Evol Online music" SecEvolMusic