homebrew-cask/Casks/v/vscodium.rb

28 lines
1.1 KiB
Ruby

cask "vscodium" do
arch arm: "arm64", intel: "x64"
version "1.81.1.23222"
sha256 arm: "acc4201d21247e63b9be2c4ae5f6dce8473c9a3e1e996c63b3ddfddc3e0cff73",
intel: "d705f5be860bc9558d4fe6373d892c917dc7cbfce5248f95048b666d91572b3e"
url "https://github.com/VSCodium/vscodium/releases/download/#{version}/VSCodium.#{arch}.#{version}.dmg"
name "VSCodium"
desc "Binary releases of VS Code without MS branding/telemetry/licensing"
homepage "https://github.com/VSCodium/vscodium"
auto_updates true
app "VSCodium.app"
binary "#{appdir}/VSCodium.app/Contents/Resources/app/bin/codium"
zap trash: [
"~/.vscode-oss",
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.visualstudio.code.oss.sfl*",
"~/Library/Application Support/VSCodium",
"~/Library/Logs/VSCodium",
"~/Library/Preferences/com.visualstudio.code.oss.helper.plist",
"~/Library/Preferences/com.visualstudio.code.oss.plist",
"~/Library/Saved Application State/com.visualstudio.code.oss.savedState",
]
end