cask "splashtop-business" do version "3.8.6.0" sha256 "580c25996ea6ad7a8592a8ca09fa5a1662359eb69c948dd27eb084eeefea6868" url "https://d17kmd0va0f0mp.cloudfront.net/macclient/STB/Splashtop_Business_Mac_INSTALLER_v#{version}.dmg" name "Splashtop Business" desc "Remote access software" homepage "https://www.splashtop.com/business" livecheck do url "https://redirect.splashtop.com/src/mac" strategy :header_match end depends_on :macos pkg "Splashtop Business.pkg" uninstall launchctl: "com.splashtop.stb.macosx.helper.autoupdate", quit: "com.splashtop.stb.macosx", pkgutil: [ "com.splashtop.splashtopBusiness.*", "com.splashtop.stb.*", ] zap trash: [ "~/Library/Application Support/Splashtop Business", "~/Library/Caches/com.splashtop.stb.macosx", "~/Library/HTTPStorages/com.splashtop.stb.macosx", "~/Library/Preferences/com.splashtop.stb.macosx.plist", ] end