cask "ideashell" do version "0.9.23" sha256 "d2befdbebf9bbd90ad87c1e5ca3d3c833d939b89522def23298ee0f421921e12" url "https://static.ideashell.com/desktop/artifacts/stable/darwin/arm64/#{version}/ideaShell-global-darwin-arm64-#{version}.zip" name "ideaShell" desc "AI partner for notes, voice, and to-dos" homepage "https://ideashell.com/" livecheck do url "https://static.ideashell.com/desktop/stable/darwin/arm64/RELEASES.json" strategy :json do |json| json["currentRelease"] end end auto_updates true depends_on arch: :arm64 depends_on macos: :monterey app "ideaShell.app" uninstall quit: "com.rrd.ideashell.global" zap trash: [ "~/Library/Application Support/@ideashell", "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.rrd.ideashell.global.sfl*", "~/Library/Application Support/ideaShell Global", "~/Library/Caches/com.rrd.ideashell.global", "~/Library/Caches/com.rrd.ideashell.global.ShipIt", "~/Library/HTTPStorages/com.rrd.ideashell.global", "~/Library/Logs/ideashell/com.rrd.ideashell.global*.log", "~/Library/Preferences/com.rrd.ideashell.global.plist", ] end