excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / ankermake.rb
blob092f6685f7983b6a6893b6d899d3bbf6739f6dd4
1 cask "ankermake" do
2   version "0.9.44_6"
3   sha256 "f201d782da18fb4b53de039a7731eee430bb6d75e4c7c6640d94c4a62e47dbe7"
5   url "https://github.com/ankermake/AnkerMake-Slicer/releases/download/v#{version.split("_").first}/AnkerMake_V#{version}.zip",
6       verified: "github.com/ankermake/AnkerMake-Slicer/"
7   name "AnkerMake"
8   desc "Slicer for AnkerMake 3D printers"
9   homepage "https://www.ankermake.com/software"
11   depends_on macos: ">= :big_sur"
12   container nested: "AnkerMake_V#{version}/AnkerMake_V#{version}.dmg"
14   app "AnkerMake.app"
16   zap trash: [
17     "~/Library/Application Support/AnkerMake",
18     "~/Library/Application Support/AnkerSlicer",
19     "~/Library/Caches/AnkerMake",
20     "~/Library/Caches/AnkerSlicer",
21     "~/Library/Preferences/com.ankermake.AnkerMake_64bit_fp.plist",
22     "~/Library/Preferences/com.ankerslicer.AnkerMake_64bit_fp.plist",
23   ]
25   caveats do
26     requires_rosetta
27   end
28 end