homebrew-cask/Casks/fuse.rb

22 lines
590 B
Ruby
Raw Normal View History

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
2015-12-10 11:30:05 +08:00
pkg 'fuse.pkg'
uninstall :pkgutil => 'com.fusetools.fuse'
end