(String url)
| 70 | } |
| 71 | |
| 72 | public static void showURL(String url) { |
| 73 | try { |
| 74 | if (Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) { |
| 75 | Desktop.getDesktop().browse(new URI(url)); |
| 76 | } |
| 77 | } catch (IOException | URISyntaxException e) { |
| 78 | e.printStackTrace(); |
| 79 | } |
| 80 | } |
| 81 | |
| 82 | public static void showFolder(String path) { |
| 83 | File folder = new File(Minecraft.getMinecraft().mcDataDir, path); |
no outgoing calls
no test coverage detected