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.
 
 

27 lines
1.3 KiB

cask 'visual-studio-code-insiders' do
version '1.19.0,bd11a1f64eb870a927f3d0e5e4628b3fa066d90c'
sha256 'd482f49b5a442082bd5e910ea3da15ee12d1170b4ef2fee5f797b673c5e9b3d8'
# 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: '5ca633ffc2d937b3079512c18e8689c40d1951414985f74fb88e01505a0e8584'
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