excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / vcv-rack.rb
blob95d6a4a2aee489ae962821fcafa3e34d4851227f
1 cask "vcv-rack" do
2   version "2.6.0"
3   sha256 "8efe37947428e08dafc618674e97f0514ef73dcad8608584660b7899b5b91b55"
5   url "https://vcvrack.com/downloads/RackFree-#{version}-mac-x64+arm64.pkg"
6   name "VCV Rack"
7   desc "Open-source virtual modular synthesiser"
8   homepage "https://vcvrack.com/"
10   livecheck do
11     url "https://raw.githubusercontent.com/VCVRack/Rack/v#{version.major}/CHANGELOG.md"
12     regex(/###\s(\d+(?:\.\d+)+)/i)
13   end
15   pkg "RackFree-#{version}-mac-x64+arm64.pkg"
17   uninstall pkgutil: "com.vcvrack.rack"
19   zap trash: [
20     "~/Documents/Rack2/*.json",
21     "~/Documents/Rack2/autosave",
22     "~/Documents/Rack2/log.txt",
23     "~/Documents/Rack2/plugins-mac-arm64",
24     "~/Documents/Rack2/plugins-mac-x64",
25     "~/Library/Application Support/Rack2/*.json",
26     "~/Library/Application Support/Rack2/autosave",
27     "~/Library/Application Support/Rack2/log.txt",
28     "~/Library/Application Support/Rack2/plugins-mac-arm64",
29     "~/Library/Application Support/Rack2/plugins-mac-x64",
30   ]
31 end