Versioning for 1.2.45

This commit is contained in:
Robin Davies
2024-08-31 20:23:24 -04:00
parent 68eeb93262
commit 40f6463eb3
8 changed files with 28 additions and 12 deletions
+3 -3
View File
@@ -431,7 +431,7 @@ void Updater::CheckForUpdate(bool useCache)
updateResult = this->currentResult;
}
//const std::string responseOption = "-w \"%{response_code}\"";
// const std::string responseOption = "-w \"%{response_code}\"";
#ifdef WIN32
responseOption = "-w \"%%{response_code}\""; // windows shell requires doubling of the %%.
#endif
@@ -787,9 +787,9 @@ static std::string getFingerprint(const std::string &gpgText)
}
return gpgText.substr(start, nPos - start);
}
static bool IsSignatureGood(const std::string&gpgText)
static bool IsSignatureGood(const std::string &gpgText)
{
std::string originPosition = "gpg: Good signature from \"";
std::string originPosition = "gpg: Good signature from \"";
size_t nPos = gpgText.find(originPosition);
return nPos != std::string::npos;