• R/O
  • HTTP
  • SSH
  • HTTPS

MUtilities: 提交

MUtilities development repository


Commit MetaInfo

修订版96f54a170eb0d180993b6ed6bee7baa365e04dcf (tree)
时间2015-08-25 05:49:45
作者LoRd_MuldeR <mulder2@gmx....>
CommiterLoRd_MuldeR

Log Message

Make the update checker fetch new signature (".sig2") file.

更改概述

差异

--- a/src/UpdateChecker.cpp
+++ b/src/UpdateChecker.cpp
@@ -535,13 +535,13 @@ bool UpdateChecker::tryUpdateMirror(UpdateCheckerInfo *updateInfo, const QString
535535 bool UpdateChecker::getUpdateInfo(const QString &url, const QString &outFileVers, const QString &outFileSign)
536536 {
537537 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))
539539 {
540540 return false;
541541 }
542542
543543 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))
545545 {
546546 return false;
547547 }
Show on old repository browser