41 lines
1.4 KiB
Ruby
41 lines
1.4 KiB
Ruby
cask "forklift" do
|
|
version "3.5.4,216"
|
|
sha256 "9b2991835908cf233a6776f673d7ff95a9069175c724618b183441cfb65d31ef"
|
|
|
|
url "https://download.binarynights.com/ForkLift#{version.before_comma}.zip"
|
|
name "ForkLift"
|
|
desc "Finder replacement and FTP, SFTP, WebDAV and Amazon s3 client"
|
|
homepage "https://binarynights.com/"
|
|
|
|
livecheck do
|
|
url "https://updates.binarynights.com/ForkLift#{version.major}/update.xml"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :el_capitan"
|
|
|
|
app "ForkLift.app"
|
|
|
|
uninstall delete: "/Library/PrivilegedHelperTools/com.binarynights.ForkLiftHelper",
|
|
launchctl: [
|
|
"com.binarynights.ForkLiftHelper",
|
|
"com.binarynights.ForkLiftMini",
|
|
],
|
|
quit: [
|
|
"com.binarynights.ForkLift-#{version.major}",
|
|
"com.binarynights.ForkLiftMini",
|
|
]
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/ForkLift",
|
|
"~/Library/Caches/com.binarynights.ForkLift-#{version.major}",
|
|
"~/Library/Cookies/com.binarynights.ForkLift-#{version.major}.binarycookies",
|
|
"~/Library/Logs/ForkLift",
|
|
"~/Library/Logs/ForkLiftMini",
|
|
"~/Library/Preferences/com.binarynights.ForkLift-#{version.major}.plist",
|
|
"~/Library/Preferences/com.binarynights.ForkLiftMini.plist",
|
|
"~/Library/Saved Application State/com.binarynights.ForkLift-#{version.major}.savedState",
|
|
]
|
|
end
|