cask 'visual-studio-code-insiders' do version '1.12.0,6e45311b5781d6550f469d0381d97d0d92e48f6b' sha256 'd868dd834425b668f68fde319d4997e43852103e40e835750b34c3a24b26c012' # az764295.vo.msecnd.net was verified as official when first introduced to the cask url "https://az764295.vo.msecnd.net/insider/#{version.after_comma}/VSCode-darwin-insider.zip" 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/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