mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-06-30 06:12:15 -06:00
26 lines
1.2 KiB
Ruby
26 lines
1.2 KiB
Ruby
cask 'visual-studio-code-insiders' do
|
|
version '1.30.0,cd5b4d1bb3fc7e509fba077095b2b280b8ff7161'
|
|
sha256 '2b68e82cf5192c1d2acf3e1871191a8dd01e6e2bb5c65aac5bbecc5807aca603'
|
|
|
|
# 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'
|
|
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
|