homebrew-cask/Casks/visual-studio-code.rb

21 lines
605 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'visual-studio-code' do
2016-02-20 01:37:15 +08:00
version '45d69357c9eb068dd8e624f5b0fe461cd2078d88'
sha256 '0e415a0a32b584895fd635c368fb7e3c440afdbe94d4b284e04ddcccfc2e8707'
2015-08-13 08:47:20 +08:00
# vo.msecnd.net is the official download host per the vendor homepage
2016-02-20 01:37:15 +08:00
url "https://az764295.vo.msecnd.net/stable/#{version}/VSCode-darwin.zip"
name 'Microsoft Visual Studio Code'
name 'VS Code'
homepage 'https://code.visualstudio.com/'
2015-11-19 00:04:46 +08:00
license :mit
auto_updates true
2015-08-13 08:47:20 +08:00
app 'Visual Studio Code.app'
zap delete: [
'~/Library/Application Support/Code',
'~/Library/Caches/Code',
]
end