macFUSE 4.0.4 (new cask)

This commit is contained in:
Adrian Ho 2021-01-10 18:48:54 +08:00
parent bdd49ef029
commit 879d68ff4d

30
Casks/macfuse.rb Normal file
View file

@ -0,0 +1,30 @@
cask "macfuse" do
version "4.0.4"
sha256 "3e1b52a78ba6530cba2fb34a64c1da2ef969e03aeb2a58ae622cb0f09772d450"
url "https://github.com/osxfuse/osxfuse/releases/download/macfuse-#{version}/macfuse-#{version}.dmg",
verified: "github.com/osxfuse/"
appcast "https://github.com/osxfuse/osxfuse/releases.atom"
name "MacFUSE"
desc "File system integration"
homepage "https://osxfuse.github.io/"
pkg "Extras/macFUSE #{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/io.macfuse.preferencepanes.macfuse"
caveats do
reboot
end
end