From f1745c149c83609f6503f48964f05228c0a1628d Mon Sep 17 00:00:00 2001 From: Caelan Sayler Date: Wed, 15 May 2024 22:07:54 +0100 Subject: [PATCH] Set auto-apply silent:false so that updates can happen even when admin is required. --- src/Velopack/VelopackApp.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Velopack/VelopackApp.cs b/src/Velopack/VelopackApp.cs index 38a784d6..2cd7bfee 100644 --- a/src/Velopack/VelopackApp.cs +++ b/src/Velopack/VelopackApp.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.IO; using System.Linq; using System.Runtime.Versioning; @@ -213,7 +213,7 @@ namespace Velopack log.Info($"Launching app is out-dated. Current: {myVersion}, Newest Local Available: {latestLocal.Version}"); if (!restarted && _autoApply) { log.Info("Auto apply is true, so restarting to apply update..."); - UpdateExe.Apply(locator, latestLocal, true, true, args, log); + UpdateExe.Apply(locator, latestLocal, false, true, args, log); Exit(0); } else { log.Info("Pre-condition failed, we will not restart to apply updates. (restarted: " + restarted + ", autoApply: " + _autoApply + ")");