From 531c2a60bfa5f02ce97a30d2a5431b3ada2d8024 Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Fri, 4 Jul 2025 22:13:47 +0200 Subject: [PATCH] fix option shit --- ModpackUpdater.Apps.Client/MainForm.cs | 2 +- ModpackUpdater.Apps.Client/Program.cs | 2 +- ModpackUpdater.Manager/ModpackInstaller.cs | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ModpackUpdater.Apps.Client/MainForm.cs b/ModpackUpdater.Apps.Client/MainForm.cs index 1c093bf..c25043c 100644 --- a/ModpackUpdater.Apps.Client/MainForm.cs +++ b/ModpackUpdater.Apps.Client/MainForm.cs @@ -272,7 +272,7 @@ public partial class MainForm private void RadTextBox_MinecraftFolder_TextInserted(object o, EventArgs args) { if (!loadingData) - CheckStatusAndUpdate(false); + CheckStatusAndUpdate(true); } private void RadTextBox_ModpackUrl_TextInserted(object o, EventArgs args) diff --git a/ModpackUpdater.Apps.Client/Program.cs b/ModpackUpdater.Apps.Client/Program.cs index 2e640a5..edb4857 100644 --- a/ModpackUpdater.Apps.Client/Program.cs +++ b/ModpackUpdater.Apps.Client/Program.cs @@ -5,7 +5,7 @@ using Pilz; using Pilz.Configuration; using System.Runtime.InteropServices; -[assembly: AssemblyAppVersion("1.9.0.0")] +[assembly: AssemblyAppVersion("1.9.1.0")] namespace ModpackUpdater.Apps.Client; diff --git a/ModpackUpdater.Manager/ModpackInstaller.cs b/ModpackUpdater.Manager/ModpackInstaller.cs index 09863ce..f7440f2 100644 --- a/ModpackUpdater.Manager/ModpackInstaller.cs +++ b/ModpackUpdater.Manager/ModpackInstaller.cs @@ -312,6 +312,9 @@ public class ModpackInstaller(ModpackConfig updateConfig, ModpackInfo modpackInf private static bool GetOptionValue(UpdateCheckOptions options, InstallInfos installInfos, string optionStr) { + if (optionStr is null) + return true; + var optionsStr = optionStr.Split(','); foreach (var set in installInfos.OptionSets)