excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / visual-studio-code@insiders.rb
blob5dbb38b46b4a91cfa9c15857573dca1671d52c3f
1 cask "visual-studio-code@insiders" do
2   arch arm: "-arm64"
4   version :latest
5   sha256 :no_check
7   url "https://code.visualstudio.com/sha/download?build=insider&os=darwin#{arch}"
8   name "Microsoft Visual Studio Code"
9   name "Visual Studio Code Insiders"
10   desc "Code editor"
11   homepage "https://code.visualstudio.com/insiders"
13   depends_on macos: ">= :catalina"
15   app "Visual Studio Code - Insiders.app"
16   binary "#{appdir}/Visual Studio Code - Insiders.app/Contents/Resources/app/bin/code", target: "code-insiders"
18   zap trash: [
19     "~/.vscode-insiders",
20     "~/Library/Application Support/Code - Insiders",
21     "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.microsoft.vscodeinsiders.sfl*",
22     "~/Library/Caches/Code - Insiders",
23     "~/Library/Caches/com.microsoft.VSCodeInsiders",
24     "~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt",
25     "~/Library/HTTPStorages/com.microsoft.VSCodeInsiders",
26     "~/Library/Preferences/ByHost/com.microsoft.VSCodeInsiders.ShipIt.*.plist",
27     "~/Library/Preferences/com.microsoft.VSCodeInsiders.helper.plist",
28     "~/Library/Preferences/com.microsoft.VSCodeInsiders.plist",
29     "~/Library/Saved Application State/com.microsoft.VSCodeInsiders.savedState",
30   ]
31 end