36 lines
930 B
Ruby
36 lines
930 B
Ruby
cask "plezy" do
|
|
version "1.23.0"
|
|
sha256 "ea9ea175b704cac6555457ae957d1c71c374cbf083d9a006685df0d1d3274c1f"
|
|
|
|
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
|
|
name "Plezy"
|
|
desc "Modern Plex client built with Flutter"
|
|
homepage "https://github.com/edde746/plezy"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
auto_updates true
|
|
|
|
app "Plezy.app"
|
|
|
|
postflight do
|
|
system_command "/usr/bin/xattr",
|
|
args: ["-cr", "#{appdir}/Plezy.app"],
|
|
sudo: false
|
|
end
|
|
|
|
uninstall quit: "com.edde746.plezy"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.edde746.plezy",
|
|
"~/Library/Caches/com.edde746.plezy",
|
|
"~/Library/HTTPStorages/com.edde746.plezy",
|
|
"~/Library/Preferences/com.edde746.plezy.plist",
|
|
"~/Library/Saved Application State/com.edde746.plezy.savedState",
|
|
"~/Library/WebKit/com.edde746.plezy",
|
|
]
|
|
end
|