36 lines
1.1 KiB
Ruby
36 lines
1.1 KiB
Ruby
cask 'osxfuse' do
|
|
version '3.6.3'
|
|
sha256 '64474821b8b9b663ff728f79fd0e7d361f972dc0ac0ea4e16f7d26cdb1655db2'
|
|
|
|
# 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: '1786c47db49d68ecdec0c199b008651a8413ce5447428c485e4b37da6baf9ad7'
|
|
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
|