Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| deeee34f87 | |||
| f254ac03e1 |
@@ -8,7 +8,7 @@
|
||||
<AssemblyName>Minecraft Modpack Updater</AssemblyName>
|
||||
<ImplicitUsings>true</ImplicitUsings>
|
||||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
|
||||
<Version>1.5.2.1</Version>
|
||||
<Version>1.5.2.2</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -29,13 +29,10 @@ public static class Program
|
||||
internal static void Main(string[] args)
|
||||
{
|
||||
var options = new Options(args);
|
||||
if (options.NoUi)
|
||||
{
|
||||
if (options.Help)
|
||||
options.DrawHelp();
|
||||
else
|
||||
InstallWithoutGui(options.UpdateOptions, options.Silent);
|
||||
}
|
||||
if (options.Help)
|
||||
options.DrawHelp();
|
||||
else if (options.NoUi)
|
||||
InstallWithoutGui(options.UpdateOptions, options.Silent);
|
||||
else
|
||||
{
|
||||
ShowWindow(GetConsoleWindow(), 0);
|
||||
|
||||
Reference in New Issue
Block a user