Author: loonycyborg
Date: Sun Oct  5 12:15:28 2008
New Revision: 29896

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29896&view=rev
Log:
Made NSIS installer use editor icon for editor shortcut.

Modified:
    trunk/packaging/windows/Wesnoth.nsi.in

Modified: trunk/packaging/windows/Wesnoth.nsi.in
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/packaging/windows/Wesnoth.nsi.in?rev=29896&r1=29895&r2=29896&view=diff
==============================================================================
--- trunk/packaging/windows/Wesnoth.nsi.in (original)
+++ trunk/packaging/windows/Wesnoth.nsi.in Sun Oct  5 12:15:28 2008
@@ -140,6 +140,8 @@
   File /r /x .* doc\manual\*.html
   File /r /x .* doc\manual\styles
   File /r /x .* doc\manual\images
+
+  File packaging\windows\wesnoth_editor-icon.ico
   
   %NSIS_INSTALL_FILES
   
@@ -154,7 +156,7 @@
     ;Create shortcuts
     CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
     CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Battle for Wesnoth.lnk" 
"$INSTDIR\wesnoth.exe"
-    CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Map editor.lnk" 
"$INSTDIR\wesnoth.exe" "-e"
+    CreateShortCut "$SMPROGRAMS\$StartMenuFolder\Map editor.lnk" 
"$INSTDIR\wesnoth.exe" "-e" "wesnoth_editor-icon.ico"
     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"
@@ -191,6 +193,7 @@
 
   ;ADD YOUR OWN FILES HERE...
   %NSIS_UNINSTALL_FILES
+  Delete "$INSTDIR\wesnoth_editor-icon.ico"
   RMDir /r "$INSTDIR\manual"
 
   Delete "$INSTDIR\Uninstall.exe"


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to