2015-12-18 09:15:28 +08:00
|
|
|
cask 'visual-studio-code' do
|
2016-07-13 09:10:15 +08:00
|
|
|
version '1.3.1,e6b4afa53e9c0f54edef1673de9001e9f0f547ae'
|
|
|
|
sha256 'e6a00c76cbfae19f57b7e8d8e2d3296f8507703a8a781652613a855191618b53'
|
2015-04-30 03:42:34 +08:00
|
|
|
|
2016-03-06 02:29:31 +08:00
|
|
|
# az764295.vo.msecnd.net was verified as official when first introduced to the cask
|
2016-03-08 15:29:50 +08:00
|
|
|
url "https://az764295.vo.msecnd.net/stable/#{version.after_comma}/VSCode-darwin-stable.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'
|
2016-06-01 03:23:21 +08:00
|
|
|
binary "#{appdir}/Visual Studio Code.app/Contents/Resources/app/bin/code"
|
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
|