From c386784dd367a0db86986635ce48f3d083eef117 Mon Sep 17 00:00:00 2001 From: Nico Graf Date: Fri, 28 Jun 2024 14:13:44 +0200 Subject: [PATCH] pocket-casts 2.0.1 Signed-off-by: Justin Krehel <39449589+krehel@users.noreply.github.com> --- Casks/p/pocket-casts.rb | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Casks/p/pocket-casts.rb b/Casks/p/pocket-casts.rb index 5b0df7604751..e4f679472553 100644 --- a/Casks/p/pocket-casts.rb +++ b/Casks/p/pocket-casts.rb @@ -1,15 +1,16 @@ cask "pocket-casts" do - version "1.5.2" - sha256 :no_check + version "2.0.1" + sha256 "75c66564518c69a0e3990983c5c4f0852f40f72673f2656fcc551629548a99dd" - url "https://static.pocketcasts.com/mac/PocketCasts.zip" + url "https://cdn.a8c-ci.services/pocket-casts-desktop/pocket-casts-desktop-darwin-universal-v#{version}.dmg", + verified: "cdn.a8c-ci.services/pocket-casts-desktop/" name "Pocket Casts" desc "Podcast platform" homepage "https://play.pocketcasts.com/" livecheck do - url "https://static.pocketcasts.com/mac/appcast.xml" - strategy :sparkle, &:short_version + url "https://pocketcasts.com/get/mac" + strategy :header_match end auto_updates true @@ -19,7 +20,13 @@ zap trash: [ "~/Library/Application Support/au.com.shiftyjelly.PocketCasts", + "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.electron.pocket-casts.sfl*", + "~/Library/Application Support/Pocket Casts", "~/Library/Caches/au.com.shiftyjelly.PocketCasts", + "~/Library/Caches/com.electron.pocket-casts*", + "~/Library/HTTPStorages/com.electron.pocket-casts", "~/Library/Preferences/au.com.shiftyjelly.PocketCasts.plist", + "~/Library/Preferences/com.electron.pocket-casts.plist", + "~/Library/Saved Application State/com.electron.pocket-casts.savedState", ] end