From 9116ec1798340447ab2ef398e661eb21be929fb7 Mon Sep 17 00:00:00 2001 From: Edward <73746306+WangEdward@users.noreply.github.com> Date: Wed, 31 May 2023 17:08:39 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Check=20for=20mac=20update=20onl?= =?UTF-8?q?y?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Idea from https://github.com/mangerlahn/Latest . Thank you! --- Sources/MasKit/Controllers/StoreSearch.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Sources/MasKit/Controllers/StoreSearch.swift b/Sources/MasKit/Controllers/StoreSearch.swift index 4fcb5a217..d96c2dfcf 100644 --- a/Sources/MasKit/Controllers/StoreSearch.swift +++ b/Sources/MasKit/Controllers/StoreSearch.swift @@ -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)