- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
if (Utility::compareVersions(myVersionStr, latestVersionStr) < 0)
{
// New version is available. Download and install the new version.
performUpdate();
}
else
{
bool isUpdateRunning = Utility::isUpdateRunning();
if (!isUpdateRunning)
{
performUpdate();
}
}