mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
MacOSX: fixed error when clicking on https urls. Fixes #3083
This commit is contained in:
parent
03a43370b7
commit
e2bf41ddd9
@ -119,7 +119,7 @@ public class Platform extends processing.app.Platform {
|
||||
|
||||
// for Java 1.6, replacing with java.awt.Desktop.browse()
|
||||
// and java.awt.Desktop.open()
|
||||
if (url.startsWith("http://")) { // browse to a location
|
||||
if (url.startsWith("http")) { // browse to a location
|
||||
Method browseMethod =
|
||||
desktopClass.getMethod("browse", new Class[] { URI.class });
|
||||
browseMethod.invoke(desktop, new Object[] { new URI(url) });
|
||||
|
Loading…
x
Reference in New Issue
Block a user