cask "piezo" do sha256 :no_check on_ventura :or_older do version "1.8.2" url "https://cdn.rogueamoeba.com/piezo/download/Piezo-ACE.zip" depends_on macos: ">= :big_sur" end on_sonoma :or_newer do version "1.9.4" url "https://cdn.rogueamoeba.com/piezo/download/Piezo.zip" depends_on macos: ">= :sonoma" # NOTE: See https://www.rogueamoeba.com/support/knowledgebase/?showCategory=Piezo caveats "Piezo #{version} requires macOS 14.4 or higher." end name "Piezo" desc "Audio recording application" homepage "https://rogueamoeba.com/piezo/" livecheck do url "https://rogueamoeba.net/ping/versionCheck.cgi?format=sparkle&system=#{MacOS.full_version.to_s.delete(".")}&bundleid=com.rogueamoeba.Piezo&platform=osx&version=#{version.no_dots}8000" strategy :sparkle end auto_updates true app "Piezo.app" uninstall quit: "com.rogueamoeba.Piezo" zap trash: [ "~/Library/Caches/com.rogueamoeba.Piezo", "~/Library/HTTPStorages/com.rogueamoeba.Piezo", "~/Library/Preferences/com.rogueamoeba.Piezo.plist", "~/Library/WebKit/com.rogueamoeba.Piezo", ] end