get the chrome version from electron and pass that to remote()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • Developer Tools

      See comment here:
      https://github.com/mongodb-js/compass/pull/5355#discussion_r1466152704

      ie. something like:

      Unable to find source-code formatter for language: shell. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      $ echo 'console.log("CHROME_VERSION=" + process.versions.chrome)' | npx electron -i 2>&- | grep -o 'CHROME_VERSION=.*'
      CHROME_VERSION=120.0.6099.216
      

            Assignee:
            Le Roux Bodenstein
            Reporter:
            Le Roux Bodenstein
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: