1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00
This commit is contained in:
tux3 2016-01-22 02:46:06 +01:00
parent 9b315a2c02
commit 3c9a9b2a49
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -86,7 +86,8 @@ bool AutoUpdater::isUpdateAvailable()
if (isDownloadingUpdate) if (isDownloadingUpdate)
return false; return false;
if (!QFile::exists(updaterBin)) QString updaterPath = updaterBin.startsWith('/') ? updaterBin : qApp->applicationDirPath()+'/'+updaterBin;
if (!QFile::exists(updaterPath))
return false; return false;
QByteArray updateFlist = getUpdateFlist(); QByteArray updateFlist = getUpdateFlist();