[feat] add automatic version check

This commit is contained in:
dijunkun
2025-11-11 15:38:31 +08:00
parent 538c17d182
commit e3143f3e7a
12 changed files with 2420 additions and 1953 deletions

View File

@@ -16,6 +16,7 @@
#include "platform.h"
#include "rd_log.h"
#include "screen_capturer_factory.h"
#include "version_checker.h"
#define NV12_BUFFER_SIZE 1280 * 720 * 3 / 2
@@ -906,6 +907,8 @@ int Render::DrawStreamWindow() {
}
int Render::Run() {
latest_version_ = CheckUpdate();
path_manager_ = std::make_unique<PathManager>("CrossDesk");
if (path_manager_) {
cert_path_ =