Skip to content

Commit

Permalink
[NETBEANS-4997] use edge chromium syntax for opening URLs in Edge bro…
Browse files Browse the repository at this point in the history
…wser.

Solution is taken from https://stackoverflow.com/a/62452956
  • Loading branch information
Steven Swor committed Sep 23, 2023
1 parent 0dfe95f commit 6fb860e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public HtmlBrowser.Impl createHtmlBrowserImpl() {
@Override
protected NbProcessDescriptor defaultBrowserExecutable () {
String command = "cmd"; // NOI18N
String params = "/C start microsoft-edge:{" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + "}"; // NOI18N
String params = "/C start msedge {" + ExtWebBrowser.UnixBrowserFormat.TAG_URL + "}"; // NOI18N
if (ExtWebBrowser.getEM().isLoggable(Level.FINE)) {
ExtWebBrowser.getEM().log(Level.FINE, "{0} MicrosoftEdge: defaultBrowserExecutable: {1}, {2}", new Object[] { System.currentTimeMillis(), params, command });
}
Expand Down

0 comments on commit 6fb860e

Please sign in to comment.