From 7680ab8220d842c13906a1be422cacc217ba4c82 Mon Sep 17 00:00:00 2001 From: collecting Date: Mon, 27 Oct 2025 03:08:14 +0000 Subject: [PATCH] fix: AppImage --- src/citron/updater/updater_service.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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;