excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / aide-app.rb
blobbfce7fdab594f2b64f27b5a094ef5336956cdbfc
1 cask "aide-app" do
2   arch arm: "arm64", intel: "x64"
4   version "1.94.2.24337"
5   sha256 arm:   "33ef89d35e378fda70cfe5df069ad45a3acd5b66bbfbbc566e68de70c324a42b",
6          intel: "eab4d8c61672e5e0123a01034d54fc685e40a9dcc8dfa096966f8f5c478800f2"
8   url "https://github.com/codestoryai/binaries/releases/download/#{version}/Aide.#{arch}.#{version}.dmg",
9       verified: "github.com/codestoryai/binaries/"
10   name "Aide"
11   desc "Open-source AI-native IDE"
12   homepage "https://aide.dev/"
14   livecheck do
15     url "https://aide-updates.codestory.ai/api/update/darwin-#{arch}/stable/0"
16     strategy :json do |json|
17       json["productVersion"]
18     end
19   end
21   auto_updates true
22   conflicts_with formula: "aide"
23   depends_on macos: ">= :catalina"
25   app "Aide.app"
26   binary "#{appdir}/Aide.app/Contents/Resources/app/bin/aide"
28   uninstall quit: "ai.codestory.AideInsiders"
30   zap trash: [
31     "~/Library/Application Support/ai.codestory.sidecar",
32     "~/Library/Application Support/Aide",
33     "~/Library/Caches/ai.codestory.AideInsiders",
34     "~/Library/Caches/ai.codestory.AideInsiders.savedState",
35     "~/Library/Caches/ai.codestory.AideInsiders.ShipIt",
36     "~/Library/HTTPStorages/ai.codestory.AideInsiders",
37     "~/Library/Preferences/ai.codestory.AideInsiders.plist",
38     "~/Library/Preferences/ByHost/ai.codestory.AideInsiders.ShipIt.*.plist",
39     "~/Library/Saved Application State/ai.codestory.AideInsiders.savedState",
40   ]
41 end