Conforms OperatingSystemVersion to Comparable

This commit is contained in:
nythepegasus
2024-05-09 00:13:38 -04:00
committed by ny
parent d718d2155f
commit d2f0409452
3 changed files with 22 additions and 5 deletions

View File

@@ -37,11 +37,6 @@ final class AppManagerPublisher: ObservableObject
fileprivate(set) var refreshProgress = [String: Progress]()
}
private func ==(lhs: OperatingSystemVersion, rhs: OperatingSystemVersion) -> Bool
{
return (lhs.majorVersion == rhs.majorVersion && lhs.minorVersion == rhs.minorVersion && lhs.patchVersion == rhs.patchVersion)
}
final class AppManager
{
static let shared = AppManager()