Merge pull request #198803 from Homebrew/bump-wizcli-0.69.0
[Homebrew/homebrew-cask.git] / Casks / a / anki.rb
blobaf5e0809740c481d83447090f0e876a930ff5686
1 cask "anki" do
2   arch arm: "apple", intel: "intel"
4   version "24.11"
6   on_catalina :or_older do
7     sha256 "4d44b763ea114e2aae61aaaa8171fd54a9095a06cd8e84a863675b1bbc75a24a"
9     url "https://github.com/ankitects/anki/releases/download/#{version}/anki-#{version}-mac-#{arch}-qt5.dmg",
10         verified: "github.com/ankitects/anki/"
11   end
12   on_big_sur :or_newer do
13     sha256 arm:   "004a72ad9050fb4148f42c7009a70695b303319ede79b0513e443436cb6e6e79",
14            intel: "77de257e4d695098319380f2970f9f0b6aadf307d127bb494189be0a1a752799"
16     url "https://github.com/ankitects/anki/releases/download/#{version}/anki-#{version}-mac-#{arch}-qt6.dmg",
17         verified: "github.com/ankitects/anki/"
18   end
20   name "Anki"
21   desc "Memory training application"
22   homepage "https://apps.ankiweb.net/"
24   livecheck do
25     url :url
26     strategy :github_latest
27   end
29   depends_on macos: ">= :high_sierra"
31   app "Anki.app"
33   zap trash: [
34     "~/Library/Application Support/Anki*",
35     "~/Library/Caches/Anki",
36     "~/Library/Saved Application State/net.ankiweb.dtop.savedState",
37   ]
38 end