We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 933bb22 commit 14401a5Copy full SHA for 14401a5
1 file changed
SteamInstaller/Program.cs
@@ -24,6 +24,12 @@ class Program
24
/// <param name="args"></param>
25
static void Main(string[] args)
26
{
27
+ bool quit = false;
28
+ if (args.Length > 0 && args[1].Equals("/quit"))
29
+ {
30
+ quit = true;
31
+ }
32
+
33
Console.WriteLine(Environment.NewLine);
34
WriteColor(@"[$$$$$$$$\ $$\ $$\ $$$$$$\ $$\]", ConsoleColor.DarkGreen);
35
WriteColor(@"[$$ _____|\__| $$ | $$ __$$\ $$ |]", ConsoleColor.DarkGreen);
@@ -76,7 +82,12 @@ static void Main(string[] args)
76
82
compiler.Close();
77
83
}
78
84
79
- Console.ReadKey();
85
+ if (!quit)
86
87
+ Console.WriteLine(Environment.NewLine);
88
+ Console.WriteLine("Push any key to close the console");
89
+ Console.ReadKey();
90
80
91
81
92
93
/// <summary>
0 commit comments