36 lines
917 B
Ruby
36 lines
917 B
Ruby
cask "plezy" do
|
|
version "2.19.1"
|
|
sha256 "7d3ffd0efccf4db5faf063e8ecc03e897ee30d08e9fa3b007d127c63cbf187e2"
|
|
|
|
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
|
|
name "Plezy"
|
|
desc "Modern Plex and Jellyfin 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_steps do
|
|
run "/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
|