1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-30 18:30:54 +00:00

Merge pull request #113341 from DSOE1024/linuxbsd-xfce-exo-open

Implement XFCE support in os_linuxbsd.cpp
This commit is contained in:
Thaddeus Crews
2025-12-08 11:53:52 -06:00

View File

@@ -565,7 +565,15 @@ Error OS_LinuxBSD::shell_open(const String &p_uri) {
return OK;
}
ok = execute("kde-open", args, nullptr, &err_code);
return !err_code ? ok : FAILED;
if (ok == OK && !err_code) {
return OK;
}
// XFCE
ok = execute("exo-open", args, nullptr, &err_code);
if (ok == OK && !err_code) {
return OK;
}
return FAILED;
}
bool OS_LinuxBSD::_check_internal_feature_support(const String &p_feature) {