Skip to content

Fallback browser when xdg-open does not exist - #1708

Merged
mislav merged 5 commits into
trunkfrom
wsl-detection
Sep 16, 2020
Merged

mislav merged 5 commits into
trunkfrom
wsl-detection

Conversation

@samcoe

@samcoe samcoe commented Sep 16, 2020 •

Copy link
Copy Markdown
Contributor

Summary

closes #826

Details

@samcoe samcoe self-assigned this Sep 16, 2020
@samcoe
samcoe requested review from mislav and vilmibm September 16, 2020 12:48
Comment thread pkg/browser/browser.go Resolved
@samcoe samcoe changed the title Use WSL2 detection to pick browser Fallback browser when xdg-open does not exist Sep 16, 2020
@samcoe
samcoe requested a review from mislav September 16, 2020 13:13
Comment thread pkg/browser/browser.go Resolved
Comment thread pkg/browser/browser.go Resolved
@samcoe
samcoe requested a review from mislav September 16, 2020 14:06
Comment thread pkg/browser/browser.go Resolved
@samcoe
samcoe requested a review from mislav September 16, 2020 15:37

@mislav mislav left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you for your patience! 🙇

@mislav
mislav merged commit cd32ef8 into trunk Sep 16, 2020
@mislav
mislav deleted the wsl-detection branch September 16, 2020 16:16
@jetersen

Copy link
Copy Markdown

Nice fix! 🙇

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.

Preview in browser fails in WSL with: exec: "xdg-open": executable file not found in $PATH

3 participants