You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.3 KiB

cask 'visual-studio-code-insiders' do
version '1.19.0,dc84f454ea245a1131e28557de1204b8cd1cc320'
sha256 '1e5013404b6646adb6f57d253e6f4808603bc88d9b0e1845cc970901be1d5b7e'
# az764295.vo.msecnd.net/insider was verified as official when first introduced to the cask
url "https://az764295.vo.msecnd.net/insider/#{version.after_comma}/VSCode-darwin-insider.zip"
appcast 'https://vscode-update.azurewebsites.net/api/update/darwin/insider/VERSION',
checkpoint: 'e11329b74062e050664c6868346548ef7f6fef42b69543451ea8a25a02e84621'
name 'Microsoft Visual Studio Code'
name 'VS Code - Insiders'
homepage 'https://code.visualstudio.com/insiders'
auto_updates true
depends_on macos: '>= :mavericks'
app 'Visual Studio Code - Insiders.app'
binary "#{appdir}/Visual Studio Code - Insiders.app/Contents/Resources/app/bin/code", target: 'code-insiders'
zap trash: [
'~/Library/Application Support/Code - Insiders',
'~/Library/Caches/Code - Insiders',
'~/Library/Caches/com.microsoft.VSCodeInsiders',
'~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt',
'~/Library/Preferences/com.microsoft.VSCodeInsiders.helper.plist',
'~/Library/Preferences/com.microsoft.VSCodeInsiders.plist',
]
end