2015-12-18 09:15:28 +08:00
|
|
|
cask 'fuse' do
|
2016-01-05 00:51:30 +08:00
|
|
|
version '0.9.5.5424'
|
|
|
|
sha256 '7689fc1c3c2ca4ad89fd68ee80c59a24c130d6cc2cd8651812c39321405149e3'
|
2015-12-10 11:30:05 +08:00
|
|
|
|
|
|
|
url "https://api.fusetools.com/fuse-release-management/releases/#{version}/osx"
|
2016-01-04 23:50:19 +08:00
|
|
|
name 'Fuse Fusetools'
|
2015-12-10 11:30:05 +08:00
|
|
|
homepage 'https://www.fusetools.com'
|
|
|
|
license :closed
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
container type: :pkg
|
2016-01-04 17:06:21 +08:00
|
|
|
|
|
|
|
pkg 'fuse.pkg'
|
|
|
|
|
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
|
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall pkgutil: 'com.fusetools.fuse'
|
2015-12-10 11:30:05 +08:00
|
|
|
end
|