1 cask "sony-ps-remote-play" do
5 url "https://remoteplay.dl.playstation.net/remoteplay/module/mac/RemotePlayInstaller.pkg"
7 desc "Application to control your PlayStation 4 or PlayStation 5"
8 homepage "https://remoteplay.dl.playstation.net/remoteplay/lang/en/"
12 regex(/Version\s*v?(\d+(?:\.\d+)+)\s*for\s*Mac/i)
15 depends_on macos: ">= :high_sierra"
17 pkg "RemotePlayInstaller.pkg"
19 uninstall pkgutil: "com.playstation.RemotePlay.pkg"
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",