homebrew-cask/Casks/osxfuse.rb

30 lines
854 B
Ruby

cask "osxfuse" do
version "3.11.0"
sha256 "6e4adf8e939bb336ce51c28c71249019c1499ebdba4abddc7cc1ea5154a1feaf"
# github.com/osxfuse/ was verified as official when first introduced to the cask
url "https://github.com/osxfuse/osxfuse/releases/download/osxfuse-#{version}/osxfuse-#{version}.dmg"
appcast "https://github.com/osxfuse/osxfuse/releases.atom"
name "OSXFUSE"
homepage "https://osxfuse.github.io/"
pkg "Extras/FUSE for macOS #{version}.pkg"
postflight do
set_ownership ["/usr/local/include", "/usr/local/lib"]
end
uninstall pkgutil: [
"com.github.osxfuse.pkg.Core",
"com.github.osxfuse.pkg.MacFUSE",
"com.github.osxfuse.pkg.PrefPane",
],
kext: "com.github.osxfuse.filesystems.osxfusefs"
zap trash: "~/Library/Caches/com.github.osxfuse.OSXFUSEPrefPane"
caveats do
reboot
end
end