mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
28 lines
1.0 KiB
Ruby
28 lines
1.0 KiB
Ruby
cask "default-folder-x" do
|
|
version "6.0.2"
|
|
sha256 "1c699f559c49160f8b8aba6af786c854e2baf80deb18c7bdb3e865649a5b2c29"
|
|
|
|
url "https://www.stclairsoft.com/download/DefaultFolderX-#{version}.dmg"
|
|
name "Default Folder X"
|
|
desc "Utility to enhance the Open and Save dialogs in applications"
|
|
homepage "https://www.stclairsoft.com/DefaultFolderX/"
|
|
|
|
livecheck do
|
|
url "https://www.stclairsoft.com/cgi-bin/sparkle.cgi?DX#{version.major}"
|
|
strategy :sparkle, &:short_version
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Default Folder X.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/.com.stclairsoft",
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.stclairsoft.defaultfolderx#{version.major}.sfl*",
|
|
"~/Library/Application Support/com.stclairsoft.DefaultFolderX#{version.major}",
|
|
"~/Library/Caches/com.stclairsoft.DefaultFolderX#{version.major}",
|
|
"~/Library/Preferences/com.stclairsoft.DefaultFolderX#{version.major}.plist",
|
|
]
|
|
end
|