excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / aria2d.rb
blob7dc6d9e699c5e633e4183cb29bc5b35914e7e58f
1 cask "aria2d" do
2   version "1.3.9,433"
3   sha256 "efa4be7b0c0d47c814e8d8f8d392d760dd5a02ba46829136f8a6404dffc2bf6f"
5   url "https://github.com/xjbeta/Aria2D/releases/download/#{version.csv.first}%28#{version.csv.second}%29/Aria2D.#{version.csv.first}.dmg"
6   name "Aria2D"
7   desc "Aria2 GUI"
8   homepage "https://github.com/xjbeta/Aria2D"
10   livecheck do
11     url "https://raw.githubusercontent.com/xjbeta/AppUpdaterAppcasts/master/Aria2D/Appcast.xml"
12     strategy :sparkle do |items|
13       items.map(&:nice_version)
14     end
15   end
17   depends_on macos: ">= :high_sierra"
19   app "Aria2D.app"
21   zap trash: [
22     "~/Library/Application Support/Aria2D",
23     "~/Library/Application Support/com.xjbeta.Aria2D",
24     "~/Library/Preferences/com.xjbeta.Aria2D.plist",
25     "~/Library/Saved Application State/com.xjbeta.Aria2D.savedState",
26   ]
27 end