MUtilities development repository
修订版 | 96f54a170eb0d180993b6ed6bee7baa365e04dcf (tree) |
---|---|
时间 | 2015-08-25 05:49:45 |
作者 | ![]() |
Commiter | LoRd_MuldeR |
Make the update checker fetch new signature (".sig2") file.
@@ -535,13 +535,13 @@ bool UpdateChecker::tryUpdateMirror(UpdateCheckerInfo *updateInfo, const QString | ||
535 | 535 | bool UpdateChecker::getUpdateInfo(const QString &url, const QString &outFileVers, const QString &outFileSign) |
536 | 536 | { |
537 | 537 | log("", "Downloading update info:"); |
538 | - if(!getFile(QString("%1%2" ).arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileVers)) | |
538 | + if(!getFile(QString("%1%2" ).arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileVers)) | |
539 | 539 | { |
540 | 540 | return false; |
541 | 541 | } |
542 | 542 | |
543 | 543 | log("", "Downloading signature:"); |
544 | - if(!getFile(QString("%1%2.sig").arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileSign)) | |
544 | + if(!getFile(QString("%1%2.sig2").arg(url, mirror_url_postfix[m_betaUpdates ? 1 : 0]), outFileSign)) | |
545 | 545 | { |
546 | 546 | return false; |
547 | 547 | } |