<commit_before>$manifest = Get-Content .\manifest.json | ConvertFrom-Json
<#
{
  "applications": {
    "gecko": {
      "strict_min_version": "64"
    }
  },
  "background": {
    "scripts": [
      "background/background.js"
    ]
  },
  "content_scripts": [
    {
      "matches": "https://twitter.com/*",
      "js": [
        "content_scripts/entry.js"
      ]
    }
  ],
  "options_ui": {
    "open_in_tab": true,
    "page": "options_ui/options.html"
  },
  "page_action": {
    "browser_style": true,
    "default_icon": {
      "19": "icons/icon-on.png"
    },
    "default_popup": "popup/popup.html",
    "default_title": "PrsPrsTwitter",
    "show_matches": [
      "https://twitter.com/*"
    ]
  },
  "permissions": [
    "storage",
    "tabs"
  ]
}
#>
$manifest.PsObject.Members.Remove("applications")

$manifest | ConvertTo-Json -Depth 9 | Out-File .\manifest_c.json<commit_msg>feat: WIP: generate for Chrome<commit_after>$manifest = Get-Content .\manifest.json | ConvertFrom-Json
<#
{
  "applications": {
    "gecko": {
      "strict_min_version": "64"
    }
  },
  "options_ui": {
    "open_in_tab": true,
    "page": "options_ui/options.html"
  },
  "page_action": {
    "browser_style": true,
    "default_icon": {
      "19": "icons/icon-on.png"
    },
    "default_popup": "popup/popup.html",
    "default_title": "PrsPrsTwitter",
    "show_matches": [
      "https://twitter.com/*"
    ]
  },
}
#>
$manifest.PsObject.Members.Remove("applications")
$pageAction = $manifest.page_action
$pageAction | Add-Member chrome_style $pageAction.browser_style
$pageAction.PsObject.Members.Remove("browser_style")
$pageAction.PsObject.Members.Remove("show_matches")

$manifest | ConvertTo-Json -Depth 9 | Out-File .\manifest_c.json
{'fraction_non_alphanumeric': 0.18228867165037377, 'fraction_numerical': 0.005750431282346176, 'mean_word_length': 3.0941176470588236, 'pattern_counts': {'":': 32, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, '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': '2045778', 'n_tokens_mistral': 654, 'n_tokens_neox': 625, 'n_words': 86}