mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-12-19 13:59:10 +08:00
21 lines
377 B
C++
21 lines
377 B
C++
/*
|
|
* @Author: DI JUNKUN
|
|
* @Date: 2025-11-11
|
|
* Copyright (c) 2025 by DI JUNKUN, All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef _VERSION_CHECKER_H_
|
|
#define _VERSION_CHECKER_H_
|
|
|
|
#include <nlohmann/json.hpp>
|
|
#include <string>
|
|
|
|
namespace crossdesk {
|
|
|
|
nlohmann::json CheckUpdate();
|
|
|
|
bool IsNewerVersion(const std::string& current, const std::string& latest);
|
|
|
|
} // namespace crossdesk
|
|
|
|
#endif |