diff --git a/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 b/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 index edbc824..e46b244 100644 --- a/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 +++ b/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1 @@ -130,7 +130,7 @@ function Invoke-PostUpdateActions { "$WorkingDir\functions\Get-WAUUpdateStatus.ps1", "$WorkingDir\functions\Write-Log.ps1", "$WorkingDir\functions\Get-WinGetAvailableVersion.ps1", - "$WorkingDir\functions\Invoke-DirProtect.ps1", + "$WorkingDir\functions\Invoke-ModsProtect.ps1", "$WorkingDir\Version.txt" ) foreach ($FileName in $FileNames) {