From ef317690d23285e3231dc3910699a4c5689b3955 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:25:26 +0200 Subject: [PATCH 1/4] Fixes default time value --- Sources/Wix/build.wxs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Wix/build.wxs b/Sources/Wix/build.wxs index 47e7f63..1119abd 100644 --- a/Sources/Wix/build.wxs +++ b/Sources/Wix/build.wxs @@ -80,7 +80,7 @@ - + From f582bd7c75ff492fa69af6afa27bdb9793c52f8c Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Wed, 16 Oct 2024 18:15:43 +0200 Subject: [PATCH 2/4] UPDATESATTIME example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54b6e9c..bccf89f 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,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. From 69bccba61582d5e84c302b1651d72bc13f167e5e Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Wed, 16 Oct 2024 22:17:56 +0200 Subject: [PATCH 3/4] x64 --- Sources/Wix/build.wxs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/Wix/build.wxs b/Sources/Wix/build.wxs index 1119abd..7af57ae 100644 --- a/Sources/Wix/build.wxs +++ b/Sources/Wix/build.wxs @@ -251,13 +251,13 @@ - - + + - - + + 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 4/4] 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