Skip to content

Commit 6048bfa

Browse files
committed
Remove press any key message
1 parent e8ae4b8 commit 6048bfa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

SaveWin10Pictures/Program.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ private static void Main()
118118
consoleKeyPressed = Console.ReadKey();
119119
// Check every 24 hours
120120
//Thread.Sleep(5000);
121-
if (consoleKeyPressed.ToString() == "Q")
121+
if (consoleKeyPressed.ToString().ToUpper() == "Q")
122122
{
123123
break;
124124
}
@@ -143,9 +143,9 @@ private static void Main()
143143

144144
} while (consoleKeyPressed.Key != ConsoleKey.Q);
145145

146-
Console.ForegroundColor = ConsoleColor.Yellow;
147-
display("Press any key to exit:");
148-
Console.ReadKey(); // comment for batch to production
146+
//Console.ForegroundColor = ConsoleColor.Yellow;
147+
//display("Press any key to exit:");
148+
//Console.ReadKey(); // comment for batch to production
149149
}
150150

151151
private static string DisplayTitle()

0 commit comments

Comments
 (0)