Merge pull request #200213 from Homebrew/bump-tidelift-1.14.0
[Homebrew/homebrew-cask.git] / Casks / n / navicat-premium@15.rb
blob9268123a310798fc8fc44ac7c8c811eae1022642
1 cask "navicat-premium@15" do
2   version "15.0.36"
3   sha256 :no_check
5   url "https://download.navicat.com/download/navicat#{version.major_minor.no_dots}_premium_en.dmg"
6   name "Navicat Premium 15"
7   desc "Database administration and development tool"
8   homepage "https://www.navicat.com/products/navicat-premium"
10   livecheck do
11     url "https://www.navicat.com/en/products/navicat-premium-release-note#M"
12     regex(/Navicat\sPremium\s\(macOS\)\sversion\s(15\.\d+(?:\.\d+)+)/i)
13   end
15   conflicts_with cask: "navicat-premium"
16   depends_on macos: ">= :mojave"
18   app "Navicat Premium.app"
20   zap trash: [
21     "~/Library/Application Support/PremiumSoft CyberTech/Navicat CC/Navicat Premium",
22     "~/Library/Caches/com.apple.helpd/Generated/Navicat Help*#{version}",
23     "~/Library/Preferences/com.prect.NavicatPremium#{version.major}.plist",
24     "~/Library/Saved Application State/com.prect.NavicatPremium#{version.major}.savedState",
25   ]
26 end