draw help always even if not noui is set

This commit is contained in:
2024-08-10 09:27:09 +02:00
parent c9650c6118
commit f254ac03e1

View File

@@ -29,13 +29,10 @@ public static class Program
internal static void Main(string[] args) internal static void Main(string[] args)
{ {
var options = new Options(args); var options = new Options(args);
if (options.NoUi)
{
if (options.Help) if (options.Help)
options.DrawHelp(); options.DrawHelp();
else else if (options.NoUi)
InstallWithoutGui(options.UpdateOptions, options.Silent); InstallWithoutGui(options.UpdateOptions, options.Silent);
}
else else
{ {
ShowWindow(GetConsoleWindow(), 0); ShowWindow(GetConsoleWindow(), 0);