From 1078bef3430868aac026f80e1b403b8945fa3bba Mon Sep 17 00:00:00 2001 From: Samuel Braun <42311986+MindLaborDev@users.noreply.github.com> Date: Mon, 13 Dec 2021 13:44:59 +0100 Subject: [PATCH] Fixed autoupdate bug #5 --- Form1.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Form1.cs b/Form1.cs index 1be10a0..cfc2492 100644 --- a/Form1.cs +++ b/Form1.cs @@ -96,8 +96,9 @@ private void applyButton_Click(object sender, EventArgs e) { SetKv(ref acf, "StateFlags", "4"); SetKv(ref acf, "UpdateResult", "0"); + // Disable Autoupdate if its not already if(checkBox1.Checked) - SetKv(ref acf, "AutoUpdateBehavior", "1"); + SetKv(ref acf, "AutoUpdateBehavior", "0"); acf = Regex.Replace(acf, "(\"" + AppInfo.DEPOT_ID + "\".*?\"manifest\"\\s*?)\"[0-9]{19}\"", $"$1\"{textbox_manifest.Text}\"", RegexOptions.Singleline | RegexOptions.IgnoreCase);