<commit_before>cask 'logitech-options' do
  version '6.00.3356'
  sha256 '0e34082e5810e811b886e795b2c3d4c19c5ddf5a9b343744aa71126a5eb48d4d'

  url "http://www.logitech.com/pub/techsupport/options/Options_#{version}.zip"
  name 'Logitech Options'
  homepage 'https://support.logitech.com/en_us/software/options-mac'
  license :closed

  depends_on macos: '>= :mountain_lion'

  pkg 'LogiMgr Installer.app/Contents/Resources/LogiMgr.mpkg'

  uninstall script:  {
                       executable: '/Applications/Utilities/LogiMgr Uninstaller.app/Contents/Resources/Uninstaller',
                       sudo:       false,
                     },
            pkgutil: [
                       'com.logitech.manager.pkg',
                       'com.Logitech.signedKext.pkg',
                     ]

  caveats do<commit_msg>fix pkg source file not found error in logitech-options (#23383)<commit_after>cask 'logitech-options' do
  version '6.00.3356'
  sha256 '0e34082e5810e811b886e795b2c3d4c19c5ddf5a9b343744aa71126a5eb48d4d'

  url "http://www.logitech.com/pub/techsupport/options/Options_#{version}.zip"
  name 'Logitech Options'
  homepage 'https://support.logitech.com/en_us/software/options'
  license :closed

  depends_on macos: '>= :mavericks'

  pkg 'LogiMgr Installer #{version}.app/Contents/Resources/LogiMgr.mpkg'

  uninstall script:  {
                       executable: '/Applications/Utilities/Logitech Options Uninstaller.app/Contents/Resources/Uninstaller',
                       sudo:       false,
                     },
            pkgutil: [
                       'com.logitech.manager.pkg',
                       'com.Logitech.signedKext.pkg',
                     ]

  caveats do
{'fraction_non_alphanumeric': 0.10452143276570758, 'fraction_numerical': 0.06400469759248385, 'mean_word_length': 2.276923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1173023', 'n_tokens_mistral': 643, 'n_tokens_neox': 572, 'n_words': 78}