mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-11 22:06:11 -06:00
new cask dotnet-preview 2.2.0-preview2-26905-02
This commit is contained in:
parent
da065a16b4
commit
1468f176b8
1 changed files with 18 additions and 0 deletions
18
Casks/dotnet-preview.rb
Normal file
18
Casks/dotnet-preview.rb
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
cask 'dotnet-preview' do
|
||||
version '2.2.0-preview2-26905-02'
|
||||
sha256 '26c9ad4fe67510f5714f58a5d31ae657675dd9f918e4de083e02eb99609f10cf'
|
||||
|
||||
url "https://download.microsoft.com/download/5/B/A/5BA1012E-5112-45C2-8369-152B49A6AA3B/dotnet-runtime-#{version}-osx-x64.pkg"
|
||||
appcast 'https://www.microsoft.com/net/download/macos'
|
||||
name '.Net Core Runtime'
|
||||
homepage 'https://www.microsoft.com/net/core#macos'
|
||||
|
||||
depends_on macos: '>= :sierra'
|
||||
|
||||
pkg "dotnet-runtime-#{version}-osx-x64.pkg"
|
||||
|
||||
uninstall pkgutil: "com.microsoft.dotnet.*#{version.major_minor}*"
|
||||
|
||||
zap delete: '/etc/paths.d/dotnet',
|
||||
trash: '~/.nuget'
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue