From 1bac0c2fb2100a6ac2520b5b5533b02223180573 Mon Sep 17 00:00:00 2001 From: Vasilis The Pikachu Date: Sat, 2 Dec 2023 20:49:33 +0100 Subject: [PATCH] weh --- SS14.Watchdog/Components/Updates/UpdateProviderGit.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SS14.Watchdog/Components/Updates/UpdateProviderGit.cs b/SS14.Watchdog/Components/Updates/UpdateProviderGit.cs index 899ffc5..ec738ae 100644 --- a/SS14.Watchdog/Components/Updates/UpdateProviderGit.cs +++ b/SS14.Watchdog/Components/Updates/UpdateProviderGit.cs @@ -25,7 +25,7 @@ public class UpdateProviderGit : UpdateProvider private readonly ILogger _logger; private readonly string _repoPath; private readonly IConfiguration _configuration; - private bool _newPackaging = true; + private bool _newPackaging; public UpdateProviderGit(ServerInstance serverInstanceInstance, UpdateProviderGitConfiguration configuration, ILogger logger, IConfiguration config) { @@ -262,6 +262,8 @@ public override async Task CheckForUpdateAsync(string? currentVersion, Can await CommandHelperChecked("Failed to build Content Packaging", _repoPath, "dotnet", new[] { "build", "Content.Packaging","--configuration", "Release", "--no-restore", "/m" }, cancel); } + else + _newPackaging = false; if (_hybridACZ) {