homebrew-cask/Casks/macfusion.rb

24 lines
779 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'macfusion' do
version '2.0.4'
sha256 '6693241fd54d686013864adb86a6ea7eef6c1291546573b628b3ddf7889ef71c'
2014-09-26 20:09:01 +08:00
url "http://macfusionapp.org/releases/Macfusion_#{version}.zip"
2014-10-15 23:43:52 +08:00
appcast 'http://macfusionapp.org/appcast.xml',
checkpoint: '6035a7a17249b0f1106400fff4e81df9815f99eca3ef1e5b4a98d54fa97bfad3'
2015-04-13 01:02:45 +08:00
name 'Macfusion'
2013-05-14 02:51:34 +08:00
homepage 'http://macfusionapp.org/'
license :apache
depends_on cask: 'sshfs'
2015-02-06 16:48:31 +08:00
2014-09-16 00:05:53 +08:00
app 'Macfusion.app'
2015-02-06 16:48:31 +08:00
# fix broken bundled sshfs, see https://github.com/osxfuse/osxfuse/wiki/SSHFS#macfusion
postflight do
Dir.chdir("#{appdir}/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources") do
File.rename('sshfs-static', 'sshfs-static.orig')
File.symlink('/usr/local/bin/sshfs', 'sshfs-static')
end
2015-02-06 16:48:31 +08:00
end
2013-05-14 02:51:34 +08:00
end