[LyX/master] Win32-build, bug #11635, "2 lyx in same time?"
Kornel Benko
kornel at lyx.org
Wed May 6 09:31:34 UTC 2020
commit 14316c7890c81db4fe7bc9229a14885e1261a125
Author: Kornel Benko <kornel at lyx.org>
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" != ""
More information about the lyx-cvs
mailing list