Linux-Test

This commit is contained in:
Hartmut Bauer committed 2026-02-14 00:27:24 +01:00
1 parent e96142b762
commit a6bfc81d47
1 file changed
+3 -3
@@ -11,9 +11,9 @@ actual fun openInBrowser(url: Url) {
throw IllegalStateException("Desktop API not supported (cannot open browser automatically).") throw IllegalStateException("Desktop API not supported (cannot open browser automatically).")
} }
val desktop = Desktop.getDesktop() val desktop = Desktop.getDesktop()
if (!desktop.isSupported(Desktop.Action.BROWSE)) { // if (!desktop.isSupported(Desktop.Action.BROWSE)) {
throw IllegalStateException("BROWSE action not supported (cannot open browser automatically).") // throw IllegalStateException("BROWSE action not supported (cannot open browser automatically).")
} // }
desktop.browse(url.toURI()) desktop.browse(url.toURI())