diff --git a/src/citron/updater/updater_service.h b/src/citron/updater/updater_service.h index d60c3ad2b..e75b9b96f 100644 --- a/src/citron/updater/updater_service.h +++ b/src/citron/updater/updater_service.h @@ -11,14 +11,14 @@ #include #include - #include namespace Updater { -// Declaration for the helper function. +// Declarations for helper functions QString FormatDateTimeString(const std::string& iso_string); std::string ExtractCommitHash(const std::string& version_string); +QByteArray GetFileChecksum(const std::filesystem::path& file_path); struct DownloadOption { std::string name; @@ -28,6 +28,8 @@ struct DownloadOption { struct UpdateInfo { std::string version; std::vector download_options; + std::string checksum_url; + std::string expected_checksum; std::string changelog; std::string release_date; bool is_newer_version = false;