commit 14316c7890c81db4fe7bc9229a14885e1261a125
Author: Kornel Benko <[email protected]>
Date:   Wed May 6 11:50:41 2020 +0200

    Win32-build, bug #11635, "2 lyx in same time?"
    
    Patch from Eugene
    "Win installer part again, this time just append to existing lyxrc.dist 
instead of deleting it."
---
 .../Win32/packaging/installer/setup/configure.nsh  |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/development/Win32/packaging/installer/setup/configure.nsh 
b/development/Win32/packaging/installer/setup/configure.nsh
index ae28336..ff6caf2 100644
--- a/development/Win32/packaging/installer/setup/configure.nsh
+++ b/development/Win32/packaging/installer/setup/configure.nsh
@@ -162,10 +162,8 @@ Section -Configure
   
   # Set the path prefix in lyxrc.dist
   ClearErrors
-  Delete "$INSTDIR\Resources\lyxrc.dist"
-  FileOpen $R1 "$INSTDIR\Resources\lyxrc.dist" w
-  # set the format to the latest LyXRC format
-  FileWrite $R1 'Format 24$\r$\n'
+  FileOpen $R1 "$INSTDIR\Resources\lyxrc.dist" a
+  FileSeek $R1 0 END
   # set some general things
   FileWrite $R1 '\screen_zoom 120$\r$\n'
   ${if} "$PathPrefix" != ""
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to