excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / v / vk-messenger.rb
blob30905b97f894a03648f13566a07958e6ea408e09
1 cask "vk-messenger" do
2   version "5.3.2,723"
3   sha256 :no_check
5   url "https://desktop.userapi.com/mac/master/vk.dmg",
6       verified: "desktop.userapi.com/mac/master/"
7   name "VK Messenger"
8   desc "Messenger app"
9   homepage "https://vk.com/messenger"
11   livecheck do
12     url "https://desktop.userapi.com/mac/master/latest.json"
13     strategy :json do |json|
14       version = json["version"]
15       build = json["build"]
16       next if version.blank? || build.blank?
18       "#{version},#{build}"
19     end
20   end
22   app "VK Messenger.app"
24   zap trash: [
25     "~/Library/Preferences/com.vk.messages.helper.plist",
26     "~/Library/Preferences/com.vk.messages.plist",
27     "~/Library/Saved Application State/com.vk.messages.savedState",
28   ]
30   caveats do
31     requires_rosetta
32   end
33 end