Skip to content

Commit

Permalink
Merge pull request #774 from FaserF/fix-Calling-Invoke-PostUpdateActions
Browse files Browse the repository at this point in the history
Remove calling Invoke-PostUpdateActions
  • Loading branch information
Romanitho authored Dec 2, 2024
2 parents e31afa8 + 4fa6d63 commit 7bb55ff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/Winget-AutoUpdate/Winget-Upgrade.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 7bb55ff

Please sign in to comment.