[feat] show notification window if there is a new version avaliable

This commit is contained in:
dijunkun
2025-11-25 01:20:16 +08:00
parent 01ebed9b37
commit 86501b05dd
9 changed files with 2034 additions and 1712 deletions

View File

@@ -7,11 +7,12 @@
#ifndef _VERSION_CHECKER_H_
#define _VERSION_CHECKER_H_
#include <nlohmann/json.hpp>
#include <string>
namespace crossdesk {
std::string CheckUpdate();
nlohmann::json CheckUpdate();
bool IsNewerVersion(const std::string& current, const std::string& latest);