cask "freeshow" do arch arm: "arm64", intel: "x64" version "1.6.7" sha256 arm: "4bee5ba1a9b63d082159672b53dce82b1baf9b442ce4942e5da0b3f32a0a8ddf", intel: "4378f418aa047900e9cf0ccca880ee7770408fe6893870b04ce09e4d1e9fa93f" url "https://github.com/ChurchApps/FreeShow/releases/download/v#{version}/FreeShow-#{version}-#{arch}.zip" name "FreeShow" desc "Presentation software" homepage "https://freeshow.app/" livecheck do url :url strategy :github_latest end auto_updates true conflicts_with cask: "freeshow@beta" depends_on :macos app "FreeShow.app" uninstall quit: "app.freeshow" zap trash: [ "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/app.freeshow.sfl*", "~/Library/Application Support/freeshow", "~/Library/Preferences/app.freeshow.plist", "~/Library/Saved Application State/app.freeshow.savedState", ], rmdir: "~/Documents/FreeShow" end