cask "okta-advanced-server-access" do version "1.84.0" sha256 "b659a8610dcb8dd8692b5547963c3f8d0b4d026c139d0e6db0b0beec271e69bf" url "https://dist.scaleft.com/repos/macos/stable/all/macos-client/v#{version}/ScaleFT-#{version}.pkg", verified: "dist.scaleft.com/repos/macos/stable/all/macos-client/" name "Okta Advanced Server Access" name "ScaleFT" desc "Identity and access management" homepage "https://help.okta.com/asa/en-us/Content/Topics/Adv_Server_Access/docs/sft-osx.htm" livecheck do url "https://dist.scaleft.com/repos/macos/stable/all/macos-client/oktapam-appcast.xml" strategy :sparkle, &:short_version end auto_updates true depends_on macos: ">= :high_sierra" pkg "ScaleFT-#{version}.pkg" uninstall pkgutil: "com.scaleft.ScaleFT" zap trash: [ "~/Library/Application Support/ScaleFT", "~/Library/Caches/com.scaleft.ScaleFT", "~/Library/HTTPStorages/com.scaleft.ScaleFT", "~/Library/Logs/ScaleFT", "~/Library/Preferences/com.scaleft.ScaleFT.plist", ] end