cask 'osxfuse' do version '3.7.1' sha256 '0982bca1661d1b8df1c310e828984b25c11dfdc623a79566bfa6283779fad24c' # 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', checkpoint: '4e0725b4347685f212e5a634db4af830a8db30c986f8f8ca608c523ba14ac424' name 'OSXFUSE' homepage 'https://osxfuse.github.io/' auto_updates true pkg "Extras/FUSE for macOS #{version}.pkg", choices: [ 'choiceIdentifier' => 'com.github.osxfuse.pkg.MacFUSE', 'choiceAttribute' => 'selected', 'attributeSetting' => 1, ] 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' caveats do reboot end end