Add opening file proxy for windows.

This commit is contained in:
Chandler Cox
2024-10-05 23:11:38 -05:00
parent 631ff14fc1
commit 84201b346b

View File

@@ -32,6 +32,14 @@ namespace FlaxEditor.Content
/// <inheritdoc />
public override EditorWindow Open(Editor editor, ContentItem item)
{
#if PLATFORM_WINDOWS
CreateProcessSettings settings = new CreateProcessSettings
{
ShellExecute = true,
FileName = item.Path
};
Platform.CreateProcess(ref settings);
#endif
return null;
}