forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add eldeveloper-macfusion 2.1.1-dev.3 (new formula) (Homebrew#26986)
- Loading branch information
1 parent
e2d0b83
commit 5744ac4
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
cask 'eldeveloper-macfusion' do | ||
version '2.1.1-dev.3' | ||
sha256 '3e6e356f36623dde805aa3de941e29f6256b02cfe0720bcbd70df4526e2a7198' | ||
|
||
url "https://github.com/ElDeveloper/macfusion#{version.major}/releases/download/#{version}/Macfusion.zip" | ||
appcast "https://github.com/ElDeveloper/macfusion#{version.major}/releases.atom", | ||
checkpoint: '1d723f056dc494253c55c5fa83f3f679ea9c4b421b2a97b806a70c08470aae08' | ||
name 'Macfusion' | ||
homepage "https://github.com/ElDeveloper/macfusion#{version.major}/" | ||
|
||
depends_on formula: 'homebrew/fuse/sshfs' | ||
|
||
app 'Macfusion.app' | ||
|
||
# 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("#{HOMEBREW_PREFIX}/bin/sshfs", 'sshfs-static') | ||
end | ||
end | ||
end |