diff --git a/native/src/core/cert.rs b/native/src/core/cert.rs index eba0716ce..b42523d0e 100644 --- a/native/src/core/cert.rs +++ b/native/src/core/cert.rs @@ -79,9 +79,9 @@ pub fn read_certificate(fd: RawFd, version: i32) -> Vec { comment.foreach_props(|k, v| { if k == "versionCode" { apk_ver = v.trim().parse::().unwrap_or(0); - true - } else { false + } else { + true } }); if version > apk_ver {