Online update implementation based on Mozilla's MAR format + update mechanism Parts of this code are copied from the mozilla repository, and adapted to LibreOffice needs: firefox/modules/libmar -> onlineupdate/source/libmar firefox/toolkit/mozapps/update -> onlineupdate/source/update The source/service directory contains the code for the silent windows updater that avoids the repeated administrator check for an update. == NOTE == The updater executable should not depend on any other dynamic library in the LibreOffice installation as we would need to copy that one also to a temporary directory during update. We can't update any library or executable that is currently in use. For the updater executable we solve this problem by copying the updater before using it to a temporary directory. On Windows we use the system to provide us with a crypto library whereas on Linux we use NSS. == Update procedure == The updater executable is run two times. In a first run, the current installation is copied to a "update" directory and the update is applied in this "update" directory. During the next run, a replacement request is executed. The replacement request removes the old installation directory and replaces it with the content of the "update" directory. === User profile in the installation directory === The archive based installations have the user profile by default inside of the installation directory. During the update process this causes some problems that need special handling in the updater. * The "update" directory is inside of the user profile resulting in recursive copying. * During the replacement request the updater log is in the user profile, which changes location from the actual location to a backup location. distro/collabora/cp-4.0 LibreOffice 界面翻译代码仓库文档基金会
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-09-19 13:06:32 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2023-09-19 13:07:43 +0200
commite9b69e6142eb467471592808643bd3805d421435 (patch)
tree560dd15568c662038746d8a96b033f895761b357
parente36b64c9337f7977d392e0144ba47cb4ad45c453 (diff)
update translations for 7.5.7 rc1 cp-23.05.4-2
and force-fix errors using pocheck Change-Id: I34b39a66ce87d0f38907b450eafd58bcbd5e91a5
Diffstat