🔧 Check for mac update only

Idea from https://github.com/mangerlahn/Latest . Thank you!
This commit is contained in:
Edward 2023-05-31 17:08:39 +08:00
parent 4c044d8b64
commit 9116ec1798
No known key found for this signature in database

View file

@ -48,7 +48,10 @@ extension StoreSearch {
return nil
}
components.queryItems = [URLQueryItem(name: "id", value: "\(appId)")]
components.queryItems = [
URLQueryItem(name: "id", value: "\(appId)"),
URLQueryItem(name: "entity", value: "desktopSoftware"),
]
if let country = country {
components.queryItems!.append(country)