cask "ankiapp" do version "9.7.1" sha256 "b704e232b2439e7fae0d62e4c16b78b0500ee7c8ba10466b287c5eceaccd27ed" url "https://updates.ankiapp.com/AnkiApp-#{version}-universal-mac.zip" name "AnkiApp" desc "Spaced Repetition Flashcard App" homepage "https://www.ankiapp.com/" livecheck do url "https://updates.ankiapp.com/latest-mac.yml" strategy :electron_builder end auto_updates true depends_on macos: ">= :high_sierra" app "AnkiApp.app" zap trash: [ "~/Library/Application Support/AnkiApp", "~/Library/Logs/AnkiApp", "~/Library/Preferences/com.ankiapp.mac-client.plist", "~/Library/Preferences/com.electron.ankiapp.helper.plist", "~/Library/Preferences/com.electron.ankiapp.plist", ] end