mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-29 23:25:59 +00:00
Changed: If old installer doesn't return a version, overwrite it
This commit is contained in:
parent
60e927a3a0
commit
1615c21909
1 changed files with 3 additions and 0 deletions
|
@ -692,6 +692,9 @@ int CConfigFile::compareInstallersVersion() const
|
||||||
|
|
||||||
QString installedVersion = getVersionFromExecutable(installerDst);
|
QString installedVersion = getVersionFromExecutable(installerDst);
|
||||||
|
|
||||||
|
// if unable to get version, copy it
|
||||||
|
if (installedVersion.isEmpty()) return 1;
|
||||||
|
|
||||||
nlinfo("%s version is %s", Q2C(installerDst), Q2C(installedVersion));
|
nlinfo("%s version is %s", Q2C(installerDst), Q2C(installedVersion));
|
||||||
|
|
||||||
QString newVersion = QApplication::applicationVersion();
|
QString newVersion = QApplication::applicationVersion();
|
||||||
|
|
Loading…
Reference in a new issue