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
e93c350621
commit
67620f9661
@ -86,7 +86,8 @@ bool AutoUpdater::isUpdateAvailable()
|
||||
if (isDownloadingUpdate)
|
||||
return false;
|
||||
|
||||
if (!QFile::exists(updaterBin))
|
||||
QString updaterPath = updaterBin.startsWith('/') ? updaterBin : qApp->applicationDirPath()+'/'+updaterBin;
|
||||
if (!QFile::exists(updaterPath))
|
||||
return false;
|
||||
|
||||
QByteArray updateFlist = getUpdateFlist();
|
||||
|
Loading…
x
Reference in New Issue
Block a user