office-gobmx/unotools/source
Mike Kaganski f1e4a97b03 tdf#35568 Repeat "first run" procedure on upgrade
1. In isProductVersionUpgraded, if it was upgraded, set FirstRun. This
   will run in runGraphicsRenderTests, early enough in Desktop::Main().
2. This will make sure that Desktop::CheckFirstRun() will do its tasks,
   including creation  of the quickstart shortcut.  It is simplified a
   bit, to use a better WinAPI.
3. Setting FirstRun to false is moved to m_firstRunTimer's handler, to
   make sure that it gets run eventually, even if the first launch was
   terminated before the timer fired.

This will not make installer itself create the quickstart shortcut: it
will happen on the program's first run after an upgrade. But users now
won't have to enable the option manually each time.

Change-Id: Ica6cc41f1e56b8970db27d14e2be3c47910293e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168902
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2024-06-15 13:19:13 +02:00
..
accessibility
config loplugin:ostr in unotools 2024-05-16 11:36:10 +02:00
i18n loplugin:ostr in unotools 2024-05-16 11:36:10 +02:00
misc tdf#35568 Repeat "first run" procedure on upgrade 2024-06-15 13:19:13 +02:00
streaming
ucbhelper loplugin:ostr in unotools 2024-05-16 11:36:10 +02:00