Skip to content

Issue 447 - support for macOs, Linux and Unix #651

Merged
siddhijain merged 3 commits intodevfrom
SJAIN/support-for-mac-unix-linux
May 16, 2023
Merged

Issue 447 - support for macOs, Linux and Unix #651
siddhijain merged 3 commits intodevfrom
SJAIN/support-for-mac-unix-linux

Conversation

@siddhijain
Copy link
Contributor

This fix allows opening a default browser depending on the operating system. In the absence of a Mac device, we do not have a way to test it.

#447

String os = System.getProperty("os.name").toLowerCase();
if (os.contains("windows")) {
openDefaultSystemBrowserInWindows(url);
} else if (os.contains("mac")) { // mac os
Copy link
Member

Choose a reason for hiding this comment

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

I'll help test on Mac.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you!

@siddhijain siddhijain marked this pull request as ready for review May 11, 2023 19:35
@siddhijain siddhijain requested a review from Avery-Dunn May 12, 2023 17:59
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.

3 participants