Add opening file proxy for windows.
This commit is contained in:
@@ -32,6 +32,14 @@ namespace FlaxEditor.Content
|
|||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
public override EditorWindow Open(Editor editor, ContentItem item)
|
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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user