excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / a / actual-odbc-pack.rb
blob9486087e516be5de4f5adf6b03384cafb65907e5
1 cask "actual-odbc-pack" do
2   version "1.0.23"
3   sha256 :no_check
5   url "https://actualtechnologies.cachefly.net/Actual_ODBC_Pack.dmg",
6       verified: "actualtechnologies.cachefly.net/"
7   name "Actual ODBC Driver Pack"
8   desc "Connect to enterprise databases using common desktop applications"
9   homepage "https://www.actualtech.com/products.php"
11   livecheck do
12     url :url
13     strategy :extract_plist do |items|
14       items["com.actualtechnologies.odbcmanager"]&.short_version
15     end
16   end
18   conflicts_with cask: "odbc-manager"
20   pkg "Actual ODBC Pack.pkg"
22   uninstall pkgutil: [
23     "com.actualtechnologies.odbcdriver.*",
24     "com.actualtechnologies.odbcmanager.pkg",
25   ]
27   zap trash: [
28         "~/Library/Application Support/Actual ODBC",
29         "~/Library/Logs/Actual_iODBC_Installer.log",
30         "~/Library/Saved Application State/com.actualtechnologies.odbcmanager.savedState",
31       ],
32       rmdir: "~/Documents/ODBC Documents"
33 end