Made shortcut for editor created by NSIS installer call built-in editor.

(Run wesnoth.exe with -e parameter)
This commit is contained in:
Sergey Popov 2008-10-04 14:28:38 +00:00
parent 97a7b74bb0
commit cc1c3e9de2

2
packaging/windows/Wesnoth.nsi.in Executable file → Normal file
View file

@ -154,7 +154,7 @@ Section "Battle for Wesnoth" BfWSection
;Create shortcuts
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Battle for Wesnoth.lnk" "$INSTDIR\wesnoth.exe"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Map editor.lnk" "$INSTDIR\wesnoth_editor.exe"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Map editor.lnk" "$INSTDIR\wesnoth.exe" "-e"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Multiplayer server.lnk" "$INSTDIR\wesnothd.exe"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Manual.lnk" "$INSTDIR\manual\manual.en.html"
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Uninstall.lnk" "$INSTDIR\Uninstall.exe"