Merge branch 'fix/1384/use-xdg-open-on-linux' of https://github.com/dector/FlaxEngine into dector-fix/1384/use-xdg-open-on-linux

This commit is contained in:
Wojtek Figat
2023-09-19 22:01:28 +02:00

View File

@@ -136,7 +136,7 @@ bool LinuxFileSystem::ShowFileExplorer(const StringView& path)
{
const StringAsANSI<> pathAnsi(*path, path.Length());
char cmd[2048];
sprintf(cmd, "nautilus %s &", pathAnsi.Get());
sprintf(cmd, "xdg-open %s &", pathAnsi.Get());
system(cmd);
return false;
}