homebrew-cask/Casks/osxfuse.rb

30 lines
929 B
Ruby

cask 'osxfuse' do
version '3.10.4'
sha256 '654da9e58b622e24d65ffb9f7180c50f518cfa8c07e48d883d6761dbcd11787c'
# 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