cask 'osxfuse' do version '3.5.8' sha256 'd2609638e20ae666dc5460ea568ce5eca08124d54c6df7dcaa5903e536835364' # 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: '503f1b8187a120f9d7b73b2c6783dc01e59f7e0ff54692dbb4aa5c0cde54b8dd' 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