mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-05-25 06:12:26 -06:00
32 lines
798 B
Ruby
32 lines
798 B
Ruby
cask "powershell6" do
|
|
version "6.2.7"
|
|
sha256 "d968da998b00178f666f342c9823c7df5038947a46d153892b1b20580be8d6d4"
|
|
|
|
url "https://github.com/PowerShell/PowerShell/releases/download/v#{version}/powershell-#{version}-osx-x64.pkg"
|
|
name "PowerShell"
|
|
desc "Command-line shell and scripting language"
|
|
homepage "https://github.com/PowerShell/PowerShell"
|
|
|
|
conflicts_with cask: "powershell"
|
|
depends_on macos: ">= :high_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",
|
|
]
|
|
|
|
caveats do
|
|
discontinued
|
|
end
|
|
end
|