excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / airfoil.rb
blob0be24cc630ada81681ca3719f9e1e48fb767fd6b
1 cask "airfoil" do
2   sha256 :no_check
4   on_ventura :or_older do
5     version "5.11.8"
7     url "https://cdn.rogueamoeba.com/airfoil/mac/download/Airfoil-ACE.zip"
9     depends_on macos: ">= :big_sur"
10   end
11   on_sonoma :or_newer do
12     version "5.12.3"
14     url "https://cdn.rogueamoeba.com/airfoil/mac/download/Airfoil.zip"
16     depends_on macos: ">= :sonoma"
18     # NOTE: See https://www.rogueamoeba.com/support/knowledgebase/?showCategory=Airfoil+for+Mac
19     caveats "Airfoil #{version} requires macOS 14.4 or higher."
20   end
22   name "Airfoil"
23   desc "Sends audio from computer to outputs"
24   homepage "https://rogueamoeba.com/airfoil/mac/"
26   livecheck do
27     url "https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkle&system=#{MacOS.full_version.to_s.delete(".")}&bundleid=com.rogueamoeba.airfoil&platform=osx&version=#{version.no_dots}8000"
28     strategy :sparkle
29   end
31   auto_updates true
33   app "Airfoil/Airfoil Satellite.app"
34   app "Airfoil/Airfoil.app"
36   uninstall quit: [
37     "com.rogueamoeba.Airfoil",
38     "com.rogueamoeba.AirfoilSpeakers",
39   ]
41   zap trash: [
42     "~/Library/Application Support/Airfoil*",
43     "~/Library/Caches/com.rogueamoeba.Airfoil*",
44     "~/Library/HTTPStorages/com.rogueamoeba.Airfoil*",
45     "~/Library/Preferences/com.rogueamoeba.Airfoil*.plist",
46     "~/Library/Saved Application State/com.rogueamoeba.Airfoil*",
47     "~/Library/WebKit/com.rogueamoeba.Airfoil*",
48   ]
49 end