From 4fa6d6369ac27d78c50661c07f7a977a707b63d1 Mon Sep 17 00:00:00 2001 From: Fabian Seitz Date: Sun, 24 Nov 2024 11:48:43 +0100 Subject: [PATCH] Remove calling Invoke-PostUpdateActions #768 --- Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 b/Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 index 031a7f07..2d0c8b68 100644 --- a/Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 +++ b/Sources/Winget-AutoUpdate/Winget-Upgrade.ps1 @@ -105,10 +105,6 @@ if ($IsSystem) { Write-ToLog "An Exception occurred during Log Rotation..." } - #Run post update actions if necessary if run as System - if (!($WAUConfig.WAU_PostUpdateActions -eq 0)) { - Invoke-PostUpdateActions - } #Run Scope Machine function if run as System Add-ScopeMachine }