[LyX/master] Wininstaller, use correct default icon for LyX documents

Eugene Chornyi yu_jin at lyx.org
Thu Jun 18 12:12:26 UTC 2020


commit dda35d2afd349b488ca1f12ad8d4fb5089e4fb39
Author: Eugene Chornyi <yu_jin at lyx.org>
Date:   Thu Jun 18 14:35:13 2020 +0200

    Wininstaller, use correct default icon for LyX documents
---
 .../Win32/packaging/installer2/src/main.nsh        |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/development/Win32/packaging/installer2/src/main.nsh b/development/Win32/packaging/installer2/src/main.nsh
index 410f5c1..f08dca6 100644
--- a/development/Win32/packaging/installer2/src/main.nsh
+++ b/development/Win32/packaging/installer2/src/main.nsh
@@ -880,7 +880,7 @@ Section "$(SecFileAssocTitle)" SecFileAssoc # Registry information to assiciate
   WriteRegStr SHCTX "Software\Classes\.lyx" "Content Type" "application/lyx"
 
   WriteRegStr SHCTX "Software\Classes\LyX.Document" "" "LyX Document"
-  WriteRegStr SHCTX "Software\Classes\LyX.Document\DefaultIcon" "" "$INSTDIR\bin\LyX.exe,0"
+  WriteRegStr SHCTX "Software\Classes\LyX.Document\DefaultIcon" "" "$INSTDIR\bin\LyX.exe,1"
   WriteRegStr SHCTX "Software\Classes\LyX.Document\Shell\open\command" "" '"$INSTDIR\bin\LyX.exe" "%1"'
 
   # we need to update also the automatically created entry about the lyx.exe


More information about the lyx-cvs mailing list