cask "popsql" do arch arm: "-arm64" version "1.0.131" sha256 arm: "5d142f16e61980df9f034816bf69f79550898bf01d2b1fdd9cc85f839a43864c", intel: "be570339e0b82b5e17ec6b6c3d99b7f2e794daa01e39b7996713f0df3d1c4f65" url "https://popsql-releases.s3.amazonaws.com/mac/PopSQL-#{version}#{arch}.dmg", verified: "popsql-releases.s3.amazonaws.com/" name "PopSQL" desc "Collaborative SQL editor" homepage "https://popsql.com/" livecheck do url "https://popsql-releases.s3.amazonaws.com/mac/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :catalina" app "PopSQL.app" zap trash: [ "~/.popsql.json", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/org.electron.popsql.sfl*", "~/Library/Application Support/PopSQL", "~/Library/Preferences/org.electron.popsql.plist", "~/Library/Saved Application State/org.electron.popsql.savedState", ] end