Skip to content

Commit a6e03f7

Browse files
committed
Add please wait log
1 parent d6f3390 commit a6e03f7

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

nox-adb-connector/NoxAdbConnector.cs

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ public void Connect()
4545
{
4646
MoveTNoxDirectory();
4747
RunAdbConnect();
48-
49-
Process.StandardInput.Close();
50-
Process.WaitForExit();
51-
48+
WaitForProcess();
5249
ShowResult();
5350
}
5451

@@ -78,6 +75,16 @@ private void RunAdbConnect()
7875
Console.WriteLine("\n\n");
7976
}
8077

78+
private void WaitForProcess()
79+
{
80+
Console.WriteLine("### Please wait...");
81+
82+
Process.StandardInput.Close();
83+
Process.WaitForExit();
84+
85+
Console.WriteLine("\n\n");
86+
}
87+
8188
private void ShowResult()
8289
{
8390
var output = Process.StandardOutput.ReadToEnd();

0 commit comments

Comments
 (0)