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.20.0,f9115349ef09cfef2bed669680d10ac58b490dce'
sha256 '20679d167e268d5de708d99143fa0737f0894b0c715f02d34c3e406302e9c5ce'
# 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: 'e6300f20911f0000638ec5fe629d5fec6fa8671295d52fbdebe286711f24b585'
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