mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 10:43:33 +00:00
Edit updater_service.h
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user