excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / vnc-viewer.rb
blob25c9a4959916a52e14bbfd206328bb7ecc2fc4c3
1 cask "vnc-viewer" do
2   version "7.13.0"
3   sha256 "87f5c99fc266d013565aa17a154046c14589ffa5b9c88690ef860f7e26156f2c"
5   url "https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-#{version}-MacOSX-universal.dmg"
6   name "Real VNC Viewer"
7   desc "Remote desktop application focusing on security"
8   homepage "https://www.realvnc.com/"
10   livecheck do
11     url "https://www.realvnc.com/en/connect/download/viewer/macos/"
12     regex(%r{href=.*?/VNC-Viewer-(\d+(?:\.\d+)+)-MacOSX-universal\.dmg}i)
13   end
15   app "VNC Viewer.app"
17   zap trash: [
18     "~/Library/Preferences/com.realvnc.vncviewer.plist",
19     "~/Library/Saved Application State/com.realvnc.vncviewer.savedState",
20   ]
21 end