2 Commits

Author SHA1 Message Date
deeee34f87 v1.5.2.2 2024-08-10 09:27:13 +02:00
f254ac03e1 draw help always even if not noui is set 2024-08-10 09:27:09 +02:00
2 changed files with 5 additions and 8 deletions

View File

@@ -8,7 +8,7 @@
<AssemblyName>Minecraft Modpack Updater</AssemblyName> <AssemblyName>Minecraft Modpack Updater</AssemblyName>
<ImplicitUsings>true</ImplicitUsings> <ImplicitUsings>true</ImplicitUsings>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract> <IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<Version>1.5.2.1</Version> <Version>1.5.2.2</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

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);