36 lines
943 B
Ruby
36 lines
943 B
Ruby
cask "plezy" do
|
|
version "2.11.0"
|
|
sha256 "72a6a74d2f8f4ac76d83d005ff28957b3abcc9d80d7d575710df031d12c1c8cf"
|
|
|
|
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 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
|