Skip to content

Commit

Permalink
Fix launching mgcb-editor on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-cpp committed Jan 22, 2023
1 parent 2911bbb commit 2fa5961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/MonoGame.Content.Builder.Editor.Launcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static void Main(string[] args)
var mgcbEditorArgs = args.Length > 0 && !string.IsNullOrWhiteSpace(args[0]) ? $"\"{args[0]}\"" : "";

if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
Process.Start("open", $"-a \"{mgcbEditorApp}\" {mgcbEditorArgs}");
Process.Start("open", $"-n \"{mgcbEditorApp}\" --args {mgcbEditorArgs}");
else
Process.Start(mgcbEditorApp, mgcbEditorArgs);
}
Expand Down

0 comments on commit 2fa5961

Please sign in to comment.