mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #2796
This commit is contained in:
parent
9b315a2c02
commit
3c9a9b2a49
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user