30 lines
922 B
Ruby
30 lines
922 B
Ruby
cask "poedit" do
|
|
version "3.2.2,6555"
|
|
sha256 "059a8726434b19a3661db324ef3004fd9943024687f701fb354573220cd9c260"
|
|
|
|
url "https://download.poedit.net/Poedit-#{version.csv.first}.zip"
|
|
name "Poedit"
|
|
desc "Translation editor"
|
|
homepage "https://poedit.net/"
|
|
|
|
livecheck do
|
|
url "https://poedit.net/updates_v2/osx/appcast"
|
|
strategy :sparkle
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :high_sierra"
|
|
|
|
app "Poedit.app"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/net.poedit.poedit.sfl2",
|
|
"~/Library/Application Support/Poedit",
|
|
"~/Library/Caches/net.poedit.Poedit",
|
|
"~/Library/HTTPStorages/net.poedit.Poedit.binarycookies",
|
|
"~/Library/Preferences/net.poedit.Poedit.cfg",
|
|
"~/Library/Preferences/net.poedit.Poedit.plist",
|
|
"~/Library/Saved Application State/net.poedit.Poedit.savedState",
|
|
]
|
|
end
|