fix: AppImage

This commit is contained in:
collecting
2025-10-27 03:08:14 +00:00
parent d4b0c4a84f
commit 7680ab8220

View File

@@ -11,14 +11,14 @@
#include <vector> #include <vector>
#include <QString> #include <QString>
#include <QNetworkAccessManager> #include <QNetworkAccessManager>
namespace Updater { namespace Updater {
// Declaration for the helper function. // Declarations for helper functions
QString FormatDateTimeString(const std::string& iso_string); QString FormatDateTimeString(const std::string& iso_string);
std::string ExtractCommitHash(const std::string& version_string); std::string ExtractCommitHash(const std::string& version_string);
QByteArray GetFileChecksum(const std::filesystem::path& file_path);
struct DownloadOption { struct DownloadOption {
std::string name; std::string name;
@@ -28,6 +28,8 @@ struct DownloadOption {
struct UpdateInfo { struct UpdateInfo {
std::string version; std::string version;
std::vector<DownloadOption> download_options; std::vector<DownloadOption> download_options;
std::string checksum_url;
std::string expected_checksum;
std::string changelog; std::string changelog;
std::string release_date; std::string release_date;
bool is_newer_version = false; bool is_newer_version = false;