Small code clean up.

This commit is contained in:
Chandler Cox
2025-01-07 21:15:35 -06:00
parent fa17c49eb1
commit 6fbb5548b9

View File

@@ -574,14 +574,13 @@ namespace FlaxEditor.Windows
adbLogButton.TooltipText = "In debug and development builds the engine and game logs can be output directly to the adb.";
adbLogButton.Clicked += () =>
{
var processStartInfo = new System.Diagnostics.ProcessStartInfo
{
FileName = Path.Combine(sdkPath, "platform-tools", "adb.exe"),
Arguments = "logcat Flax:I *:S",
CreateNoWindow = false,
WindowStyle = ProcessWindowStyle.Normal,
};
processStartInfo.CreateNoWindow = false;
processStartInfo.WindowStyle = ProcessWindowStyle.Normal;
var process = new System.Diagnostics.Process
{
@@ -593,7 +592,7 @@ namespace FlaxEditor.Windows
{
FileName = Path.Combine(sdkPath, "platform-tools", "adb.exe"),
Arguments = $"logcat Flax:I *:S",
//LogOutput = true,
WaitForEnd = false,
};
FlaxEngine.Platform.CreateProcess(ref processSettings);
*/