<commit_before>cask 'intune-company-portal' do
  version '2.6.200600'
  sha256 'e2ee7fbb0e9c04c126f22c6d30142c6e87506908fb7432f876c01125e28982f1'

  url "https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/CompanyPortal_#{version}-Installer.pkg"
  appcast 'https://www.macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://go.microsoft.com/fwlink/?linkid=853070'
  name 'Company Portal'
  homepage 'https://docs.microsoft.com/en-us/mem/intune/user-help/enroll-your-device-in-intune-macos-cp'

  auto_updates true
  depends_on macos: '>= :mojave'

  pkg "CompanyPortal_#{version}-Installer.pkg"

  uninstall pkgutil:   [
                         'com.microsoft.package.Microsoft_AutoUpdate.app',
                         'com.microsoft.CompanyPortal',
                       ],
            delete:    [
                         '/Applications/Company Portal.app',
                         '/Library/PrivilegedHelperTools/com.microsoft.autoupdate.helper',
                       ],
            launchctl: [
                         'com.microsoft.autoupdate.helper',
                         'com.microsoft.update.agent',
                       ],
            quit:      [
                         'com.microsoft.autoupdate.fba',
                       ]<commit_msg>Update intune-company-portal from 2.6.200600 to 2.7.200700 (#86492)<commit_after>cask 'intune-company-portal' do
  version '2.7.200700'
  sha256 'd6a293dd298ba6041858fb17859a1cfdc0bb27c6bc7c86e8bbd9d9ccb737c4de'

  url "https://officecdn.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/CompanyPortal_#{version}-Installer.pkg"
  appcast 'https://www.macupdater.net/cgi-bin/check_urls/check_url_redirect.cgi?url=https://go.microsoft.com/fwlink/?linkid=853070'
  name 'Company Portal'
  homepage 'https://docs.microsoft.com/en-us/mem/intune/user-help/enroll-your-device-in-intune-macos-cp'

  auto_updates true
  depends_on macos: '>= :mojave'

  pkg "CompanyPortal_#{version}-Installer.pkg"

  uninstall pkgutil:   [
                         'com.microsoft.package.Microsoft_AutoUpdate.app',
                         'com.microsoft.CompanyPortalMac',
                         'com.microsoft.CompanyPortal',
                       ],
            delete:    [
                         '/Applications/Company Portal.app',
                         '/Library/PrivilegedHelperTools/com.microsoft.autoupdate.helper',
                       ],
            launchctl: [
                         'com.microsoft.autoupdate.helper',
                         'com.microsoft.update.agent',
                       ],
            quit:      [
                         'com.microsoft.autoupdate.fba',
                       ]
{'fraction_non_alphanumeric': 0.1153705732018985, 'fraction_numerical': 0.0660825118656444, 'mean_word_length': 1.869109947643979, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '218953', 'n_tokens_mistral': 1007, 'n_tokens_neox': 860, 'n_words': 79}