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."
This commit is contained in:
Kornel Benko 2020-05-06 11:50:41 +02:00
parent 238f510702
commit 14316c7890

View File

@ -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" != ""