cask "cahier" do version "0.9.0" sha256 "ef0606ca93bbf8f5b53fe4ba8c88a620f371f8004614e3b75501d75b838cdc36" url "https://getcahier.com/releases-macos/cahier-#{version}.dmg" name "Cahier" desc "Knowledge base with native support for research" homepage "https://getcahier.com/" livecheck do url "https://getcahier.com/releases-macos/appcast.xml" strategy :sparkle end auto_updates true depends_on macos: ">= :big_sur" app "Cahier.app" zap trash: [ "~/Library/HTTPStorages/org.Cahier-App.Cahier", "~/Library/Preferences/com.cahier-app.Cahier.plist", "~/Library/Preferences/org.Cahier-App.Cahier.plist", "~/Library/Saved Application State/org.Cahier-App.Cahier.savedState", ], rmdir: "~/Documents/Cahier" end