From: Kornel Benko Date: Wed, 6 May 2020 09:50:41 +0000 (+0200) Subject: Win32-build, bug #11635, "2 lyx in same time?" X-Git-Tag: lyx-2.4.0dev-acb2ca7b~894 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=14316c7890c81db4fe7bc9229a14885e1261a125;hp=238f510702acdefb60a77f032140befad2b1f518;p=features.git 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." --- 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" != ""