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/UpdateTab.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/UpdateTab.cpp')
-rw-r--r-- | src/m_ver_check/UpdateTab.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/m_ver_check/UpdateTab.cpp b/src/m_ver_check/UpdateTab.cpp index b28ccf3..9295f6d 100644 --- a/src/m_ver_check/UpdateTab.cpp +++ b/src/m_ver_check/UpdateTab.cpp @@ -134,9 +134,6 @@ void UpdateTab::slot_show_version_status() { GFModuleRetrieveRTValueOrDefaultBool( GFGetModuleID(), DUP("version.current_version_publish_in_remote"), 0); - auto is_git_commit_hash_mismatch = GFModuleRetrieveRTValueOrDefaultBool( - GFGetModuleID(), DUP("version.git_commit_hash_mismatch"), 0); - auto is_current_commit_hash_publish_in_remote = GFModuleRetrieveRTValueOrDefaultBool( GFGetModuleID(), DUP("version.current_commit_hash_publish_in_remote"), @@ -181,19 +178,6 @@ void UpdateTab::slot_show_version_status() { "</center>"); upgrade_label_->show(); upgrade_info_box_->show(); - } else if (is_git_commit_hash_mismatch != 0 && GFIsCheckReleaseCommitHash()) { - upgrade_label_->setText( - "<center>" + - tr("The current version's commit hash does not match the official " - "release. This may indicate a modified or unofficial build.") + - "</center><center>" + tr("Click") + - " <a " - "href=\"https://www.gpgfrontend.bktus.com/overview/downloads/\">" + - tr("here") + "</a> " + - tr("to verify your installation or download the official version.") + - "</center>"); - upgrade_label_->show(); - upgrade_info_box_->show(); } else if (is_current_commit_hash_publish_in_remote == 0) { upgrade_label_->setText( "<center>" + |