From 0c89c9a851251d96097768ca26978c149185bdd6 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Fri, 18 Oct 2024 11:51:19 +0200 Subject: [PATCH] Rename Winget-Notify to WAU-Notify --- Sources/Winget-AutoUpdate/{Winget-Notify.ps1 => WAU-Notify.ps1} | 0 Sources/Winget-AutoUpdate/config/WAU-MSI_Actions.ps1 | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename Sources/Winget-AutoUpdate/{Winget-Notify.ps1 => WAU-Notify.ps1} (100%) diff --git a/Sources/Winget-AutoUpdate/Winget-Notify.ps1 b/Sources/Winget-AutoUpdate/WAU-Notify.ps1 similarity index 100% rename from Sources/Winget-AutoUpdate/Winget-Notify.ps1 rename to Sources/Winget-AutoUpdate/WAU-Notify.ps1 diff --git a/Sources/Winget-AutoUpdate/config/WAU-MSI_Actions.ps1 b/Sources/Winget-AutoUpdate/config/WAU-MSI_Actions.ps1 index bd58c66..ae749a0 100644 --- a/Sources/Winget-AutoUpdate/config/WAU-MSI_Actions.ps1 +++ b/Sources/Winget-AutoUpdate/config/WAU-MSI_Actions.ps1 @@ -92,7 +92,7 @@ function Install-WingetAutoUpdate { Register-ScheduledTask -TaskName 'Winget-AutoUpdate-UserContext' -TaskPath 'WAU' -InputObject $task -Force | Out-Null # Settings for the scheduled task for Notifications - $taskAction = New-ScheduledTaskAction -Execute "conhost.exe" -Argument "--headless powershell.exe -NoProfile -ExecutionPolicy Bypass -File winget-notify.ps1" -WorkingDirectory $InstallPath + $taskAction = New-ScheduledTaskAction -Execute "conhost.exe" -Argument "--headless powershell.exe -NoProfile -ExecutionPolicy Bypass -File WAU-Notify.ps1" -WorkingDirectory $InstallPath $taskUserPrincipal = New-ScheduledTaskPrincipal -GroupId S-1-5-11 $taskSettings = New-ScheduledTaskSettingsSet -Compatibility Win8 -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -ExecutionTimeLimit 00:05:00 # Set up the task, and register it