diff --git a/README.md b/README.md index b523ee7..a14ddb7 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ Default value 1. Set `UPDATESATLOGON=0` to disable WAU from running at user logo Default value Never. Specify the update frequency: Daily, BiDaily, Weekly, BiWeekly, Monthly or Never. **UPDATESATTIME**
-Default value 6AM. Specify the time of the update interval execution time. +Default value 6AM (06:00:00). Specify the time of the update interval execution time. Example `UPDATESATTIME="11:00:00"` **DONOTRUNONMETERED**
Default value 1. Set `DONOTRUNONMETERED=0` to force WAU to run on metered connections. May add cellular data costs on shared connexion from smartphone for example. 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 diff --git a/Sources/Wix/build.wxs b/Sources/Wix/build.wxs index 47e7f63..7af57ae 100644 --- a/Sources/Wix/build.wxs +++ b/Sources/Wix/build.wxs @@ -80,7 +80,7 @@ - + @@ -251,13 +251,13 @@ - - + + - - + +