From 4aca1dfa43a7c9713e37162386d55cf4061cf828 Mon Sep 17 00:00:00 2001 From: Zero King Date: Sun, 2 Mar 2025 01:47:04 +0800 Subject: [PATCH] fix: typo in hasUpdate comparison Signed-off-by: Zero King --- AltStoreCore/Model/InstalledApp.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AltStoreCore/Model/InstalledApp.swift b/AltStoreCore/Model/InstalledApp.swift index 9c965be3..e6036525 100644 --- a/AltStoreCore/Model/InstalledApp.swift +++ b/AltStoreCore/Model/InstalledApp.swift @@ -141,7 +141,7 @@ public class InstalledApp: BaseEntity, InstalledAppProtocol let latestVer = SemanticVersion("\(latestSemVer!.major).\(latestSemVer!.minor).\(latestSemVer!.patch)") // Compare by major.minor.patch - if latestVer! > latestVer! { + if latestVer! > currentVer! { return true }