2015-12-18 09:15:28 +08:00
|
|
|
cask 'fuse' do
|
2018-05-08 03:42:17 +08:00
|
|
|
version '1.8.1.15610'
|
|
|
|
sha256 '448fd88fef4dde6b258db3304dcbf8416237fd35ee928d48c4a0bc9d40d0556a'
|
2015-12-10 11:30:05 +08:00
|
|
|
|
2018-05-08 03:42:17 +08:00
|
|
|
url "https://www.fusetools.com/downloads/#{version}/osx"
|
2016-01-04 23:50:19 +08:00
|
|
|
name 'Fuse Fusetools'
|
2016-11-28 15:37:02 +08:00
|
|
|
homepage 'https://www.fusetools.com/'
|
2015-12-10 11:30:05 +08:00
|
|
|
|
2018-05-08 03:42:17 +08:00
|
|
|
depends_on macos: '>= :mavericks'
|
|
|
|
container type: :pkg
|
|
|
|
|
|
|
|
pkg 'fuse.pkg'
|
|
|
|
|
|
|
|
# This is a horrible hack to force the file extension.
|
|
|
|
# The backend code should be fixed so that this is not needed.
|
|
|
|
preflight do
|
|
|
|
system_command '/bin/mv', args: ['--', staged_path.join('osx'), staged_path.join('fuse.pkg')]
|
|
|
|
end
|
2015-12-10 11:30:05 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall pkgutil: 'com.fusetools.fuse'
|
2015-12-10 11:30:05 +08:00
|
|
|
end
|