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

Add support for Edge on windows #225

Merged
merged 8 commits into from
Apr 26, 2021
Merged

Add support for Edge on windows #225

merged 8 commits into from
Apr 26, 2021

Conversation

RLesur
Copy link
Collaborator

@RLesur RLesur commented Apr 18, 2021

This PR adds the support for Edge on windows in find_chrome().

Close #160

@RLesur RLesur requested a review from cderv April 18, 2021 22:54
Copy link
Collaborator

@cderv cderv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfect thank you.

I tested and it is working fine.

More generic question related but not blocking this PR:

  • do we want to allow a choice ? We could have something like
find_chrome(which = NULL) # default - use first one found - Chrome then MSEdge
find_chrome(which = "all") # returns all paths found - useful to check
find_chrome(which = "chrome") # returns Chrome
find_chrome(which = "msedge") # returns MSEdge

It is not useful for pagedown directly and we could keep the idea if there is a need. I though of that mainly because

  • I tried find_chrome("all") because we support it in blogdown::find_hugo("all")
  • I have chrome AND msedge and I can't really choose which one to use with find_chrome() - it will always use Google Chrome. I need to set explicitly the env var to test EDGE.

So I would use it :)

@RLesur I could make the change in another PR if you think it would be interesting.

Merge branch 'master' into 160-edge

# Conflicts:
#	NEWS.md
@RLesur
Copy link
Collaborator Author

RLesur commented Apr 26, 2021

Nice suggestion, @cderv! Thanks! I don't think I'll have time in the next days to implement it.
I propose to open an issue to keep this idea in mind.

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

Successfully merging this pull request may close these issues.

Add support for Edge with Chromium in find_chrome
2 participants