Edit updater_service.h

This commit is contained in:
collecting
2025-10-25 02:13:00 +00:00
parent 8050dc0cd2
commit 1175bf35b7

View File

@@ -10,11 +10,14 @@
#include <memory>
#include <vector>
// Forward declare to keep headers clean
class QNetworkAccessManager;
#include <QString>
#include <QNetworkAccessManager>
namespace Updater {
// Declaration for the helper function.
QString FormatDateTimeString(const std::string& iso_string);
std::string ExtractCommitHash(const std::string& version_string);
struct DownloadOption {
@@ -24,7 +27,7 @@ namespace Updater {
struct UpdateInfo {
std::string version;
std::vector<DownloadOption> download_options; // Used for both Windows .zip and Linux .AppImage
std::vector<DownloadOption> download_options;
std::string changelog;
std::string release_date;
bool is_newer_version = false;