Free, open-source Windows optimization tool for performance, privacy, and simplicity.
C# csharpdebloatdotnetgamingopen-sourceoptimizationoptimizeroptimizerduckperformanceprivacytweakertweakswindowswinui
fix(update): add system title updates during process
itsfatducke9e460c6eabf
diff --git a/optimizerDuck/src/Core/Services/UpdateService.cs b/optimizerDuck/src/Core/Services/UpdateService.csindex deee50a..0a9f5f8 100644--- a/optimizerDuck/src/Core/Services/UpdateService.cs+++ b/optimizerDuck/src/Core/Services/UpdateService.cs@@ -5,6 +5,7 @@ using ConsoleInk;using Microsoft.Extensions.Logging;using Newtonsoft.Json;using optimizerDuck.Core.Extensions;+using optimizerDuck.Core.Helpers;using optimizerDuck.UI;using optimizerDuck.UI.Components;using optimizerDuck.UI.Logger;@@ -27,6 +28,7 @@ public class UpdateServicepublic static async Task CheckForUpdatesAsync(){+ SystemHelper.Title("Checking for Updates");Log.LogInformation("Checking for updates...");try@@ -111,6 +113,7 @@ public class UpdateServiceprivate static async Task DownloadAndApplyUpdate(GitHubAsset asset){+ SystemHelper.Title("Downloading Update");var tempDownloadPath = Path.Combine(Path.GetTempPath(), asset.Name);await AnsiConsole.Progress().StartAsync(async ctx =>@@ -145,6 +148,7 @@ public class UpdateServiceprivate static void LaunchUpdater(string newExePath){+ SystemHelper.Title("Updating Application");Log.LogInformation("Starting update...");var currentProcess = Process.GetCurrentProcess();Log.LogDebug("Current process ID: {Pid}", currentProcess.Id);