homebrew-cask/Casks/macfusion.rb

24 lines
918 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'macfusion' do
2016-08-14 22:18:10 +08:00
version '2.1-dev'
sha256 'bc180bfe471fb41cbd5bf8d896dd38c0d4222436425970e090bcd36ad556e026'
2016-08-14 22:18:10 +08:00
# github.com/ElDeveloper/macfusion2 was verified as official when first introduced to the cask
url "https://github.com/ElDeveloper/macfusion2/releases/download/#{version}/Macfusion-#{version}.zip"
appcast 'https://github.com/ElDeveloper/macfusion2/releases.atom',
checkpoint: '66247c8e488caf39992d97b35481a7b24891eff9afb51a57b651dc68ff1190a8'
2015-04-13 01:02:45 +08:00
name 'Macfusion'
2013-05-14 02:51:34 +08:00
homepage 'http://macfusionapp.org/'
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