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.
 
 

29 lines
1.3 KiB

cask 'visual-studio-code-insiders' do
version '1.19.0,34c44f872c177d6f9439706418f8fe49bf125d08'
sha256 '7f69735831e114bb38c5e5ea92abdc49efc267ba2af56c0b60fe308cbeaa7e01'
# 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: 'ad138cd43653f97bb2e7ce641802209a30d9ed3da7e0992711ef7ac713125d02'
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"
zap delete: [
'~/Library/Caches/Code - Insiders',
'~/Library/Caches/com.microsoft.VSCodeInsiders',
'~/Library/Caches/com.microsoft.VSCodeInsiders.ShipIt',
],
trash: [
'~/Library/Application Support/Code - Insiders',
'~/Library/Preferences/com.microsoft.VSCodeInsiders.helper.plist',
'~/Library/Preferences/com.microsoft.VSCodeInsiders.plist',
]
end