excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / sony-ps-remote-play.rb
blobb3961e04f2c7fb97fbed1a19b9e2f45d8c1eb5fe
1 cask "sony-ps-remote-play" do
2   version "7.5.0"
3   sha256 :no_check
5   url "https://remoteplay.dl.playstation.net/remoteplay/module/mac/RemotePlayInstaller.pkg"
6   name "PS Remote Play"
7   desc "Application to control your PlayStation 4 or PlayStation 5"
8   homepage "https://remoteplay.dl.playstation.net/remoteplay/lang/en/"
10   livecheck do
11     url :homepage
12     regex(/Version\s*v?(\d+(?:\.\d+)+)\s*for\s*Mac/i)
13   end
15   depends_on macos: ">= :high_sierra"
17   pkg "RemotePlayInstaller.pkg"
19   uninstall pkgutil: "com.playstation.RemotePlay.pkg"
21   zap trash: [
22     "~/Library/Application Support/Sony Corporation/PS Remote Play",
23     "~/Library/Application Support/Sony Corporation/PS4 Remote Play",
24     "~/Library/Caches/com.playstation.RemotePlay",
25     "~/Library/Cookies/com.playstation.RemotePlay.binarycookies",
26     "~/Library/HTTPStorages/com.playstation.RemotePlay.binarycookies",
27     "~/Library/Preferences/com.playstation.RemotePlay.plist",
28     "~/Library/WebKit/com.playstation.RemotePlay",
29   ]
30 end