cask "cherry-studio" do arch arm: "arm64", intel: "x64" version "1.4.8" sha256 arm: "b8f59a3d4198728b5949ddb5fac4989b4cb4188e8e98adf8215f61e7fea708fd", intel: "2da71c3125a59e4cfe3781b0ee02b3433edfe89a2367efbfa2daf4c4b22183ed" url "https://releases.cherry-ai.com/Cherry-Studio-#{version}-#{arch}.zip" name "Cherry Studio" desc "Desktop client that supports multiple LLM providers" homepage "https://cherry-ai.com/" livecheck do url "https://releases.cherry-ai.com/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :big_sur" app "Cherry Studio.app" binary "#{appdir}/Cherry Studio.app/Contents/MacOS/Cherry Studio", target: "cherry-studio" zap trash: [ "~/Library/Application Support/CherryStudio", "~/Library/Caches/cherrystudio-updater", "~/Library/HTTPStorages/com.kangfenmao.CherryStudio", "~/Library/Logs/CherryStudio", "~/Library/Preferences/com.kangfenmao.CherryStudio.plist", "~/Library/Saved Application State/com.kangfenmao.CherryStudio.savedState", ] end