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-04-30 03:42:34 +08:00
|
|
|
|
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"
|
2015-12-25 03:04:03 +08:00
|
|
|
name 'Microsoft Visual Studio Code'
|
2016-01-06 08:10:40 +08:00
|
|
|
name 'VS Code'
|
2015-04-30 03:42:34 +08:00
|
|
|
homepage 'https://code.visualstudio.com/'
|
2015-11-19 00:04:46 +08:00
|
|
|
license :mit
|
2015-04-30 03:42:34 +08:00
|
|
|
|
2015-12-29 04:30:04 +08:00
|
|
|
auto_updates true
|
|
|
|
|
2015-08-13 08:47:20 +08:00
|
|
|
app 'Visual Studio Code.app'
|
2015-04-30 03:42:34 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
zap delete: [
|
|
|
|
'~/Library/Application Support/Code',
|
|
|
|
'~/Library/Caches/Code',
|
|
|
|
]
|
2015-04-30 03:42:34 +08:00
|
|
|
end
|