diff options
author | saturneric <[email protected]> | 2025-06-22 14:20:50 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-06-22 14:20:50 +0000 |
commit | 3a2f17c613d812cbe3bab4be51a5a35ef262596c (patch) | |
tree | a10214f9cda422882eadcd0cd2b8fab3987ae6a4 /src/m_ver_check/Utils.cpp | |
parent | fix(UpdateTab): correct condition for showing unpublished commit message (diff) | |
download | Modules-3a2f17c613d812cbe3bab4be51a5a35ef262596c.tar.gz Modules-3a2f17c613d812cbe3bab4be51a5a35ef262596c.zip |
- remove remote commit hash tracking from version check logic
- simplify version check by removing tag info parsing
- update UI to remove commit hash mismatch warning
- clean up related code and remove unused fields
Diffstat (limited to 'src/m_ver_check/Utils.cpp')
-rw-r--r-- | src/m_ver_check/Utils.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/m_ver_check/Utils.cpp b/src/m_ver_check/Utils.cpp index 8ca1baa..6d260cf 100644 --- a/src/m_ver_check/Utils.cpp +++ b/src/m_ver_check/Utils.cpp @@ -41,9 +41,6 @@ void FillGrtWithVersionInfo(const SoftwareVersion& version) { GFModuleUpsertRTValue(GFGetModuleID(), GFModuleStrDup("version.latest_version"), GFModuleStrDup(version.latest_version.toUtf8())); - GFModuleUpsertRTValue( - GFGetModuleID(), GFModuleStrDup("version.remote_commit_hash_by_tag"), - GFModuleStrDup(version.remote_commit_hash_by_tag.toUtf8())); GFModuleUpsertRTValue(GFGetModuleID(), GFModuleStrDup("version.local_commit_hash"), GFModuleStrDup(version.local_commit_hash.toUtf8())); @@ -62,9 +59,6 @@ void FillGrtWithVersionInfo(const SoftwareVersion& version) { GFModuleUpsertRTValueBool(GFGetModuleID(), GFModuleStrDup("version.current_version_released"), version.CurrentVersionReleased() ? 1 : 0); - GFModuleUpsertRTValueBool(GFGetModuleID(), - GFModuleStrDup("version.git_commit_hash_mismatch"), - version.GitCommitHashMismatch() ? 1 : 0); GFModuleUpsertRTValue(GFGetModuleID(), GFModuleStrDup("version.release_note"), GFModuleStrDup(version.release_note.toUtf8())); |