Windows installer: added a start menu shortcut to run wesnoth with console
This commit is contained in:
parent
31796c0b46
commit
980434ce96
2 changed files with 3 additions and 1 deletions
|
@ -737,7 +737,8 @@ env.WindowsInstaller([
|
|||
wesnoth, wesnothd,
|
||||
Dir(installable_subs), env["nls"] and Dir("translations") or [],
|
||||
glob("*.dll"),
|
||||
text_builder(env, source = Split("README.md copyright COPYING changelog players_changelog"))
|
||||
text_builder(env, source = Split("README.md copyright COPYING changelog players_changelog")),
|
||||
"cwesnoth.cmd"
|
||||
])
|
||||
|
||||
#
|
||||
|
|
|
@ -189,6 +189,7 @@ Section "Battle for Wesnoth" BfWSection
|
|||
;Create shortcuts
|
||||
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Battle for Wesnoth.lnk" "$INSTDIR\wesnoth.exe" $UserdataFlags
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Battle for Wesnoth (with console).lnk" "$INSTDIR\cwesnoth.cmd" $UserdataFlags "$INSTDIR\wesnoth_editor-icon.ico"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Map editor.lnk" "$INSTDIR\wesnoth.exe" "-e $UserdataFlags" "$INSTDIR\wesnoth_editor-icon.ico"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Multiplayer server.lnk" "$INSTDIR\wesnothd.exe"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Manual.lnk" "$INSTDIR\manual\manual.en.html"
|
||||
|
|
Loading…
Add table
Reference in a new issue