fix(update): revert check (#14423)

Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
fufesou
2026-02-28 16:33:54 +08:00
committed by GitHub
parent bb3501a4f9
commit e4208aa9cf
2 changed files with 4 additions and 8 deletions

View File

@@ -940,9 +940,7 @@ pub fn is_modifier(evt: &KeyEvent) -> bool {
}
pub fn check_software_update() {
let is_windows_installed = cfg!(target_os = "windows") && is_installed();
let should_check_update = is_windows_installed || !is_custom_client();
if !should_check_update {
if is_custom_client() {
return;
}
let opt = LocalConfig::get_option(keys::OPTION_ENABLE_CHECK_UPDATE);