We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6f3390 commit a6e03f7Copy full SHA for a6e03f7
nox-adb-connector/NoxAdbConnector.cs
@@ -45,10 +45,7 @@ public void Connect()
45
{
46
MoveTNoxDirectory();
47
RunAdbConnect();
48
-
49
- Process.StandardInput.Close();
50
- Process.WaitForExit();
51
+ WaitForProcess();
52
ShowResult();
53
}
54
@@ -78,6 +75,16 @@ private void RunAdbConnect()
78
75
Console.WriteLine("\n\n");
79
76
80
77
+ private void WaitForProcess()
+ {
+ Console.WriteLine("### Please wait...");
81
+
82
+ Process.StandardInput.Close();
83
+ Process.WaitForExit();
84
85
+ Console.WriteLine("\n\n");
86
+ }
87
88
private void ShowResult()
89
90
var output = Process.StandardOutput.ReadToEnd();
0 commit comments