From 8a098729a6c8591c6711f3f6e6a5e13476a08b9b Mon Sep 17 00:00:00 2001 From: Gordon Beeming Date: Wed, 8 Jul 2026 21:03:09 +1000 Subject: [PATCH] Use the non-deprecated depends_on macos symbol form Homebrew deprecated the string comparison form (">= :sonoma") for depends_on macos in casks; the bare symbol form (:sonoma) means the same thing (Sonoma or newer) without the deprecation warning. Updates both the packaging script and the CI-generated cask so they stay in sync. Co-authored-by: Claude Co-authored-by: GitButler --- .github/workflows/build.yml | 2 +- Scripts/package-for-homebrew.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2736110..6460a6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -176,7 +176,7 @@ jobs: desc "Search your screenshots by text, name or date — OCR-powered" homepage "https://github.com/gordonbeeming/vista" - depends_on macos: ">= :sonoma" + depends_on macos: :sonoma app "Vista.app" diff --git a/Scripts/package-for-homebrew.sh b/Scripts/package-for-homebrew.sh index b4bda36..e6227f2 100755 --- a/Scripts/package-for-homebrew.sh +++ b/Scripts/package-for-homebrew.sh @@ -65,7 +65,7 @@ cask "vista" do desc "Search your screenshots by text, name or date — OCR-powered" homepage "https://github.com/${REPO}" - depends_on macos: ">= :sonoma" + depends_on macos: :sonoma app "Vista.app"