Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
DHowett opened this issue Aug 2, 2020 · 0 comments

Comments

@DHowett
Copy link

DHowett commented Aug 2, 2020

return utils.run(`powershell get-appxpackage ${pkgName}`).then(out => {

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 DHowett changed the title browser detection launches powershell in a way that runs the user's startup profile windows: browser detection launches powershell in a way that runs the user's startup profile Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant