Browse Source

Fix #2796

pull/2768/merge
tux3 10 years ago
parent
commit
67620f9661
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 3
      src/net/autoupdate.cpp

3
src/net/autoupdate.cpp

@ -86,7 +86,8 @@ bool AutoUpdater::isUpdateAvailable() @@ -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…
Cancel
Save