2015-12-18 09:15:28 +08:00
|
|
|
cask 'visual-studio-code' do
|
2015-12-29 04:30:04 +08:00
|
|
|
version '0.10.6-release'
|
2015-12-24 10:18:54 +08:00
|
|
|
sha256 '78d333e1e7ae9bffc84fa1c6a0dbc3e8530d85b62c3b318e6687eefec2b3ddf9'
|
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
|
2015-11-26 22:10:33 +08:00
|
|
|
url "https://az764295.vo.msecnd.net/public/#{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
|
|
|
|
|
|
|
zap :delete => [
|
2016-01-04 03:19:51 +08:00
|
|
|
'~/Library/Application Support/Code',
|
|
|
|
'~/Library/Caches/Code',
|
2015-04-30 03:42:34 +08:00
|
|
|
]
|
|
|
|
end
|