2015-12-18 09:15:28 +08:00
|
|
|
cask 'fuse' do
|
2015-12-10 11:30:05 +08:00
|
|
|
version '0.9.3.5207'
|
|
|
|
sha256 '3a3a408dfe646b9d1bff466dafe2b31116f1295d092c5ffe6522603d06334bc7'
|
|
|
|
|
|
|
|
url "https://api.fusetools.com/fuse-release-management/releases/#{version}/osx"
|
|
|
|
name 'fuse'
|
|
|
|
homepage 'https://www.fusetools.com'
|
|
|
|
license :closed
|
|
|
|
|
2015-12-13 23:21:37 +08:00
|
|
|
# This is a horrible hack to force the file extension. The
|
|
|
|
# backend code should be fixed so that this is not needed.
|
2015-12-10 11:30:05 +08:00
|
|
|
preflight do
|
|
|
|
system '/bin/mv', '--', staged_path.join('osx'), staged_path.join('fuse.pkg')
|
|
|
|
end
|
|
|
|
|
|
|
|
container :type => :pkg
|
2016-01-04 03:18:23 +08:00
|
|
|
|
2015-12-10 11:30:05 +08:00
|
|
|
pkg 'fuse.pkg'
|
|
|
|
|
|
|
|
uninstall :pkgutil => 'com.fusetools.fuse'
|
|
|
|
end
|