From 2886832a5f3093e44850d1a74bb9d19575cee847 Mon Sep 17 00:00:00 2001 From: urwrstkn8mare <42769125+urwrstkn8mare@users.noreply.github.com> Date: Sun, 16 Apr 2023 16:22:13 +0800 Subject: [PATCH] :sparkles: Allow `mas purchase` to run but with warning --- Sources/MasKit/Commands/Purchase.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sources/MasKit/Commands/Purchase.swift b/Sources/MasKit/Commands/Purchase.swift index c8dcd2ad..dd9477b6 100644 --- a/Sources/MasKit/Commands/Purchase.swift +++ b/Sources/MasKit/Commands/Purchase.swift @@ -32,7 +32,8 @@ public struct PurchaseCommand: CommandProtocol { if #available(macOS 10.15, *) { // Purchases are no longer possible as of Catalina. // https://github.com/mas-cli/mas/issues/289 - return .failure(.notSupported) + printWarning("Purchases are no longer supported as of Catalina. (but may work)") + // return .failure(.notSupported) } // Try to download applications with given identifiers and collect results