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'
|
2014-07-01 02:28:06 +08:00
|
|
|
|
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/'
|
2014-06-27 08:01:25 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
depends_on cask: 'sshfs'
|
2015-02-06 16:48:31 +08:00
|
|
|
|
2014-09-16 00:05:53 +08:00
|
|
|
app 'Macfusion.app'
|
2016-01-04 17:06:21 +08:00
|
|
|
|
2015-02-06 16:48:31 +08:00
|
|
|
# fix broken bundled sshfs, see https://github.com/osxfuse/osxfuse/wiki/SSHFS#macfusion
|
|
|
|
postflight do
|
2016-06-18 01:25:19 +08:00
|
|
|
Dir.chdir("#{appdir}/Macfusion.app/Contents/PlugIns/sshfs.mfplugin/Contents/Resources") do
|
2015-03-08 16:34:37 +08:00
|
|
|
File.rename('sshfs-static', 'sshfs-static.orig')
|
|
|
|
File.symlink('/usr/local/bin/sshfs', 'sshfs-static')
|
2015-02-07 07:06:58 +08:00
|
|
|
end
|
2015-02-06 16:48:31 +08:00
|
|
|
end
|
2013-05-14 02:51:34 +08:00
|
|
|
end
|