mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-20 11:03:56 +00:00
fix: AppImage
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user