update deps & enable console logging

This commit is contained in:
2024-12-05 07:06:06 +01:00
parent a83d109f24
commit 3e1ab72162
6 changed files with 39 additions and 22 deletions

View File

@@ -1,10 +1,11 @@
using ModpackUpdater.Manager;
using Castle.Core.Logging;
using ModpackUpdater.Manager;
using Newtonsoft.Json;
using Pilz;
using Pilz.Configuration;
using System.Runtime.InteropServices;
[assembly: AssemblyAppVersion("1.6.2.0")]
[assembly: AssemblyAppVersion("1.6.3.0")]
namespace ModpackUpdater.Apps.Client;
@@ -97,7 +98,10 @@ public static class Program
updateOptions.IncludeExtras = features.IsEnabled(ModpackFeatures.FeatureAllowExtas, new AllowExtrasFeatureContext(info));
// Check for update
var installer = new ModpackInstaller(config, info);
var installer = new ModpackInstaller(config, info)
{
Log = new ConsoleLogger(),
};
var result = installer.Check(updateOptions).Result;
if (!silent && !updateOptions.NoUpdate && new AppUpdater().Check().Result)