From 14316c7890c81db4fe7bc9229a14885e1261a125 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Wed, 6 May 2020 11:50:41 +0200 Subject: [PATCH] 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." --- development/Win32/packaging/installer/setup/configure.nsh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/development/Win32/packaging/installer/setup/configure.nsh b/development/Win32/packaging/installer/setup/configure.nsh index ae283362e9..ff6caf28d9 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" != "" -- 2.39.2