excalidrawz 1.2.5
[Homebrew/homebrew-cask.git] / Casks / s / splashtop-business.rb
blob64ce51944e88c16c0fae1ec93cfce8cb0dad9b9c
1 cask "splashtop-business" do
2   version "3.7.2.4"
3   sha256 "629ef7dc049f2bcd687aca47d843e17ef45f9da6320ae63a5b673dfd3b24dc0f"
5   url "https://d17kmd0va0f0mp.cloudfront.net/macclient/STB/Splashtop_Business_Mac_INSTALLER_v#{version}.dmg",
6       verified: "d17kmd0va0f0mp.cloudfront.net/macclient/STB/"
7   name "Splashtop Business"
8   desc "Remote access software"
9   homepage "https://www.splashtop.com/business"
11   livecheck do
12     url "https://redirect.splashtop.com/src/mac"
13     strategy :header_match
14   end
16   pkg "Splashtop Business.pkg"
18   uninstall launchctl: "com.splashtop.stb.macosx.helper.autoupdate",
19             quit:      "com.splashtop.stb.macosx",
20             pkgutil:   [
21               "com.splashtop.splashtopBusiness.*",
22               "com.splashtop.stb.*",
23             ]
25   zap trash: [
26     "~/Library/Application Support/Splashtop Business",
27     "~/Library/Caches/com.splashtop.stb.macosx",
28     "~/Library/HTTPStorages/com.splashtop.stb.macosx",
29     "~/Library/Preferences/com.splashtop.stb.macosx.plist",
30   ]
31 end