diff --git a/Casks/whatsapp-beta.rb b/Casks/whatsapp-beta.rb deleted file mode 100644 index d97e1468e2d45c..00000000000000 --- a/Casks/whatsapp-beta.rb +++ /dev/null @@ -1,43 +0,0 @@ -cask "whatsapp-beta" do - version "2.24.8.85" - sha256 "80f292adbf879ad2fb6f72ef42ff4d801289e2a43901dca817b1b599f194b429" - - url "https://web.whatsapp.com/desktop/mac_native/release/?version=#{version}&extension=zip&configuration=Beta&branch=relbranch" - name "WhatsApp Beta" - desc "Native desktop client for WhatsApp" - homepage "https://www.whatsapp.com/" - - livecheck do - url "https://web.whatsapp.com/desktop/mac_native/updates/?branch=relbranch&configuration=Beta" - regex(/version=v?(\d+(?:\.\d+)+)/i) - strategy :sparkle do |item, regex| - item.url.scan(regex).map(&:first) - end - end - - auto_updates true - conflicts_with cask: [ - "whatsapp", - "whatsapp-legacy", - ] - depends_on macos: ">= :big_sur" - - app "WhatsApp.app" - - zap trash: [ - "~/Library/Application Scripts/net.whatsapp.WhatsApp", - "~/Library/Application Scripts/net.whatsapp.WhatsApp.Intents", - "~/Library/Application Scripts/net.whatsapp.WhatsApp.IntentsUI", - "~/Library/Application Scripts/net.whatsapp.WhatsApp.ServiceExtension", - "~/Library/Caches/net.whatsapp.WhatsApp", - "~/Library/Containers/net.whatsapp.WhatsApp", - "~/Library/Containers/net.whatsapp.WhatsApp.Intents", - "~/Library/Containers/net.whatsapp.WhatsApp.ServiceExtension", - "~/Library/Group Containers/group.com.facebook.family", - "~/Library/Group Containers/group.net.whatsapp.family", - "~/Library/Group Containers/group.net.whatsapp.WhatsApp.private", - "~/Library/Group Containers/group.net.whatsapp.WhatsApp.shared", - "~/Library/Group Containers/group.net.whatsapp.WhatsAppSMB.shared", - "~/Library/Saved Application State/net.whatsapp.WhatsApp.savedState", - ] -end diff --git a/Casks/whatsapp-legacy.rb b/Casks/whatsapp-legacy.rb deleted file mode 100644 index 689ea38ec5107b..00000000000000 --- a/Casks/whatsapp-legacy.rb +++ /dev/null @@ -1,35 +0,0 @@ -cask "whatsapp-legacy" do - version "2.2416.2" - sha256 "4697863bd8c8a26d1a7a944e873af40d8b288a9780d04667d894391e27b6a4a4" - - url "https://web.whatsapp.com/desktop/mac/files/release-#{version}.zip" - name "WhatsApp Legacy" - desc "Legacy desktop client for WhatsApp" - homepage "https://www.whatsapp.com/" - - livecheck do - url "https://web.whatsapp.com/desktop/mac/releases" - strategy :json do |json| - json["name"] - end - end - - auto_updates true - conflicts_with cask: [ - "whatsapp", - "whatsapp-beta", - ] - - app "WhatsApp.app" - - zap trash: [ - "~/Library/Application Support/WhatsApp", - "~/Library/Application Support/WhatsApp.ShipIt", - "~/Library/Caches/WhatsApp", - "~/Library/Caches/WhatsApp.ShipIt", - "~/Library/Preferences/ByHost/WhatsApp.ShipIt.*.plist", - "~/Library/Preferences/WhatsApp-Helper.plist", - "~/Library/Preferences/WhatsApp.plist", - "~/Library/Saved Application State/WhatsApp.savedState", - ] -end diff --git a/tap_migrations.json b/tap_migrations.json index 7908c7ca741e5f..1b55050ec17c2a 100644 --- a/tap_migrations.json +++ b/tap_migrations.json @@ -1,11 +1,11 @@ { - "adguard-nightly": "homebrew/cask/adguard@nightly", - "adguard-vpn-nightly": "homebrew/cask/adguard-vpn@nightly", "1password-beta": "homebrew/cask/1password@beta", "1password-cli-beta": "homebrew/cask/1password-cli@beta", "1password-cli1": "homebrew/cask/1password-cli@1", "1password-nightly": "homebrew/cask/1password@nightly", "1password7": "homebrew/cask/1password@7", + "adguard-nightly": "homebrew/cask/adguard@nightly", + "adguard-vpn-nightly": "homebrew/cask/adguard-vpn@nightly", "brave-browser-beta": "homebrew/cask/brave-browser@beta", "brave-browser-dev": "homebrew/cask/brave-browser@dev", "brave-browser-nightly": "homebrew/cask/brave-browser@nightly", @@ -33,6 +33,8 @@ "temurin17": "homebrew/cask/temurin@17", "temurin21": "homebrew/cask/temurin@21", "temurin8": "homebrew/cask/temurin@8", + "whatsapp-beta": "homebrew/cask/whatsapp@beta", + "whatsapp-legacy": "homebrew/cask/whatsapp@legacy", "zotero-beta": "homebrew/cask/zotero@beta", "zulu11": "homebrew/cask/zulu@11", "zulu17": "homebrew/cask/zulu@17",