envinfo icon indicating copy to clipboard operation
envinfo copied to clipboard

windows: browser detection launches powershell in a way that runs the user's startup profile

Open DHowett opened this issue 5 years ago • 0 comments

https://github.com/tabrindle/envinfo/blob/00f4abeb0f5911f733e561a5edbdc815ce0ca162/src/helpers/browsers.js#L64

the invocation of powershell here, omitting -noprofile, causes the execution of the user's profile.ps1.

Because of that, the browser report ends up looking like this:

  Browsers:
    Edge: Spartan (44.19041.1.0), Chromium (output from the user's profile), ChromiumDev (output from the user's profile)

DHowett avatar Aug 02 '20 01:08 DHowett