From 52bcd981ba6a888d8d86dd3e0932d9edfdd849b6 Mon Sep 17 00:00:00 2001 From: saturneric Date: Wed, 11 Jun 2025 01:18:10 +0200 Subject: feat(version_checking): add update checking api selection and caching - add bktus api support for version checking - implement version info caching with timestamp - add manual check button in update tab - support api selection from settings - add json serialization for version info --- src/m_ver_check/Utils.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/m_ver_check/Utils.cpp') diff --git a/src/m_ver_check/Utils.cpp b/src/m_ver_check/Utils.cpp index 4b45968..8ca1baa 100644 --- a/src/m_ver_check/Utils.cpp +++ b/src/m_ver_check/Utils.cpp @@ -69,6 +69,9 @@ void FillGrtWithVersionInfo(const SoftwareVersion& version) { GFModuleUpsertRTValue(GFGetModuleID(), GFModuleStrDup("version.release_note"), GFModuleStrDup(version.release_note.toUtf8())); + GFModuleUpsertRTValue(GFGetModuleID(), GFModuleStrDup("version.api"), + GFModuleStrDup(version.api.toUtf8())); + GFModuleUpsertRTValueBool(GFGetModuleID(), GFModuleStrDup("version.loading_done"), version.IsInfoValid() ? 1 : 0); -- cgit v1.2.3