Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 830 Bytes
cask 'powershell' do
version '6.2.0'
sha256 '96fcbebecdabd2c05c5da5f785968111af22fa805c93b83073feed95000a84e1'
url "https://github.com/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}-osx-x64.pkg"
appcast 'https://github.com/PowerShell/PowerShell/releases.atom'
name 'PowerShell'
homepage 'https://github.com/PowerShell/PowerShell'
depends_on formula: 'openssl'
depends_on macos: '>= :sierra'
pkg "powershell-#{version}-osx-x64.pkg"
uninstall pkgutil: 'com.microsoft.powershell'
zap trash: [
'~/.cache/powershell',
'~/.config/PowerShell',
'~/.local/share/powershell',
],
rmdir: [
'~/.cache',
'~/.config',
'~/.local/share',
'~/.local',
]
end
You can’t perform that action at this time.