cask "mp3tag" do version "1.8.27" sha256 "2dc3c69514f002ec5ae1eda6db35fdb2b5c340ce946e6ac3f1457a28a7a2455f" url "https://updates.mp3tag.app/Mp3tag-#{version}.zip" name "Mp3tag" desc "Tool for editing metadata of audio files including MP3, FLAC, OGG, and more" homepage "https://mp3tag.app/" livecheck do url "https://mp3tag.app/get/" regex(/href=.*?Mp3tag[._-]?(\d+(?:\.\d+)+)\.zip/i) end depends_on macos: ">= :mojave" app "Mp3tag.app" zap trash: [ "~/Library/Application Scripts/app.mp3tag.Mp3tag", "~/Library/Containers/app.mp3tag.Mp3tag", ] end