Signing of update packages.

This commit is contained in:
Robin Davies
2024-08-28 07:17:01 -04:00
parent 26ba5a4327
commit f30d773251
14 changed files with 612 additions and 142 deletions
+2 -1
View File
@@ -2174,7 +2174,8 @@ UpdateStatus PiPedalModel::GetUpdateStatus()
void PiPedalModel::UpdateNow(const std::string &updateUrl)
{
std::lock_guard<std::recursive_mutex> lock(mutex);
auto fileName = updater.DownloadUpdate(updateUrl);
std::filesystem::path fileName,signatureName;
updater.DownloadUpdate(updateUrl,&fileName,&signatureName);
adminClient.InstallUpdate(fileName);
}