cask "prezi-video" do version "2.28.0" sha256 "ff8adad74b1cefada53ad5f0097c8d11ceaa66ca7406c0f61bf996f167a8ef01" url "https://desktopassets.prezi.com/mac/prezi-video/releases/Prezi_Video_#{version}.zip" name "Prezi Video" desc "Lets you interact with your content live as you stream or record" homepage "https://prezi.com/video/" livecheck do url "https://prezidesktop.s3.amazonaws.com/assets/mac/prezi-video/updates/prezi-video.xml" strategy :sparkle, &:short_version end auto_updates true depends_on macos: ">= :catalina" pkg "Prezi_Video.pkg" uninstall launchctl: "com.prezi.prezivideo.vcam.assistant", quit: "com.prezi.PreziCast", pkgutil: [ "com.prezi.PreziCast", "com.prezi.prezivideo.vcam.plugin", ], delete: [ "/Applications/Prezi Video.app", "/Library/CoreMediaIO/Plug-Ins/DAL/PreziAR.plugin", ] zap trash: [ "~/Library/Application Support/com.prezi.PreziCast", "~/Library/Preferences/com.prezi.PreziCast.plist", "~/Library/Preferences/com.prezi.PreziVideo.vcam", ] end