31 lines
885 B
Ruby
31 lines
885 B
Ruby
cask "osxfuse" do
|
|
version "3.11.2"
|
|
sha256 "0f9fd021810063ded2f9a40347e11961369238af27615842063831568a0860ce"
|
|
|
|
# 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"
|
|
desc "File system integration"
|
|
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.osxfuse"
|
|
|
|
zap trash: "~/Library/Caches/com.github.osxfuse.OSXFUSEPrefPane"
|
|
|
|
caveats do
|
|
reboot
|
|
end
|
|
end
|