diff options
| author | saturneric <[email protected]> | 2025-06-10 23:18:10 +0000 |
|---|---|---|
| committer | saturneric <[email protected]> | 2025-06-10 23:18:10 +0000 |
| commit | 52bcd981ba6a888d8d86dd3e0932d9edfdd849b6 (patch) | |
| tree | 2d9d53470494e97c00cfd4158809ce385afaaef1 /src/m_ver_check/Utils.cpp | |
| parent | refactor(github version check): restructure version check task and add commit... (diff) | |
| download | Modules-52bcd981ba6a888d8d86dd3e0932d9edfdd849b6.tar.gz Modules-52bcd981ba6a888d8d86dd3e0932d9edfdd849b6.zip | |
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
Diffstat (limited to 'src/m_ver_check/Utils.cpp')
| -rw-r--r-- | src/m_ver_check/Utils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
