Desktop helper fixes [stage]

This commit is contained in:
crschnick
2025-11-26 13:22:22 +00:00
parent 221cd1a930
commit e100eaaeb9
3 changed files with 11 additions and 5 deletions

View File

@@ -20,10 +20,6 @@ public class DesktopHelper {
return;
}
if (!Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
return;
}
URI parsed;
try {
parsed = URI.create(uri);
@@ -33,6 +29,13 @@ public class DesktopHelper {
return;
}
if (!Desktop.getDesktop().isSupported(Desktop.Action.BROWSE)) {
if (OsType.ofLocal() == OsType.LINUX) {
LocalExec.readStdoutIfPossible("xdg-open", parsed.toString());
return;
}
}
// This can be a blocking operation
ThreadHelper.runAsync(() -> {
try {

3
dist/changelog/19.4_incremental.md vendored Normal file
View File

@@ -0,0 +1,3 @@
- Fix URLs not opening in current Debian sid
- Improve handling of connection filter
- Improve Korean translations (Thanks to @nillpoe)

View File

@@ -1 +1 @@
19.3.1
19.4-1