excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / visual-studio.rb
blob2907f1b0f99844bd9dc7916745e5edbd5ce12ab1
1 cask "visual-studio" do
2   arch arm: "arm64", intel: "x64"
4   on_arm do
5     version "17.6.14.413,154dca6a-af92-456d-8874-9c7c27f0bd21,60bf4fe63620e88714aef690ec794226"
6     sha256 "a720327c108a969a18cac7fff84dccbf20917697e8ed3b7fd9c98db980ad05ed"
7   end
8   on_intel do
9     version "17.6.14.413,154dca6a-af92-456d-8874-9c7c27f0bd21,a8ec8eabbf59bf8f909b7c5034702558"
10     sha256 "560b7c8832199582a4db7ab97f3294603f1b6ffc618f562bb2ebb2e6b81332f7"
11   end
13   url "https://download.visualstudio.microsoft.com/download/pr/#{version.csv.second}/#{version.csv.third}/visualstudioformac-#{version.csv.first}-#{arch}.dmg"
14   name "Microsoft Visual Studio"
15   desc "Integrated development environment"
16   homepage "https://visualstudio.microsoft.com/vs/mac/"
18   deprecate! date: "2024-08-31", because: :discontinued
20   auto_updates true
21   depends_on macos: ">= :catalina"
22   depends_on cask: "mono-mdk-for-visual-studio"
24   app "Visual Studio.app"
26   zap trash: [
27     "/Applications/Xamarin Profiler.app",
28     "/Applications/Xamarin Workbooks.app",
29     "~/Library/Application Support/CrashReporter/VisualStudio*",
30     "~/Library/Application Support/VisualStudio",
31     "~/Library/Caches/VisualStudio",
32     "~/Library/Caches/VisualStudioInstaller",
33     "~/Library/Caches/XamarinInstaller",
34     "~/Library/Developer/Xamarin",
35     "~/Library/Logs/VisualStudio",
36     "~/Library/Logs/VisualStudioInstaller",
37     "~/Library/Logs/XamarinInstaller",
38     "~/Library/MonoAndroid",
39     "~/Library/MonoTouch",
40     "~/Library/Preferences/Visual*Studio",
41     "~/Library/Preferences/Xamarin",
42     "~/Library/VisualStudio",
43     "~/Library/Xamarin.Mac",
44   ]
45 end