OSDN Git Service

Make the update checker fetch new signature (".sig2") file.
authorLoRd_MuldeR <mulder2@gmx.de>
Mon, 24 Aug 2015 20:49:45 +0000 (22:49 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Mon, 24 Aug 2015 20:49:45 +0000 (22:49 +0200)
src/UpdateChecker.cpp

index 341af86..aba6459 100644 (file)
@@ -535,13 +535,13 @@ bool UpdateChecker::tryUpdateMirror(UpdateCheckerInfo *updateInfo, const QString
 bool UpdateChecker::getUpdateInfo(const QString &url, const QString &outFileVers, const QString &outFileSign)
 {
        log("", "Downloading update info:");
-       if(!getFile(QString("%1%2"    ).arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileVers))
+       if(!getFile(QString("%1%2"     ).arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileVers))
        {
                return false;
        }
 
        log("", "Downloading signature:");
-       if(!getFile(QString("%1%2.sig").arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileSign))
+       if(!getFile(QString("%1%2.sig2").arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileSign))
        {
                return false;
        }