office-gobmx/desktop/source/app
Mike Kaganski e3563cd274 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
(cherry picked from commit f1e4a97b03)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168939
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-06-17 13:31:35 +02:00
..
app.cxx
appinit.cxx
check_ext_deps.cxx
cmdlineargs.cxx
cmdlineargs.hxx
cmdlinehelp.cxx
cmdlinehelp.hxx
crashreport.cxx
desktopcontext.cxx
desktopcontext.hxx
dispatchwatcher.cxx
dispatchwatcher.hxx
langselect.cxx
langselect.hxx
lockfile2.cxx
main.c
officeipcthread.cxx
officeipcthread.hxx
opencl.cxx
sofficemain.cxx
sofficemain.h
updater.cxx
updater.hxx
userinstall.cxx
userinstall.hxx