Skip to content

Commit 05d1ee9

Browse files
committed
Updated wrapper mechanisms
- Set the correct path names to WAU - Replaced the wrappers from the console version to the windows version
1 parent 7aeb193 commit 05d1ee9

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

Refresh-WingetConfiguration.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,12 @@ if ( $commandLineArguments -ne $previousCommandLineArguments ) {
293293

294294
#$UserRunWingetAutoupdateAction = New-ScheduledTaskAction -Execute "$scriptlocation\WinGet-AutoUpdate-Configurator\Winget-AutoUpdate.exe" -Argument "user-run"
295295
$NotifyUserAction = New-ScheduledTaskAction -Execute $wauWrapperEXE -Argument "[ARGSSELECTOR|notify-user]"
296-
Set-ScheduledTask -TaskName "Winget-Autoupdate" -Action $RunWingetAutoupdateAction
296+
Set-ScheduledTask -TaskName "WAU\Winget-Autoupdate" -Action $RunWingetAutoupdateAction
297297

298298
if ( $configuration.InstallUserContext ) {
299-
Set-ScheduledTask -TaskName "Winget-AutoUpdate-UserContext" -Action $RunWingetAutoupdateAction -ErrorAction SilentlyContinue
299+
Set-ScheduledTask -TaskName "WAU\Winget-AutoUpdate-UserContext" -Action $RunWingetAutoupdateAction -ErrorAction SilentlyContinue
300300
}
301-
Set-ScheduledTask -TaskName "Winget-AutoUpdate-Notify" -Action $NotifyUserAction -ErrorAction SilentlyContinue
301+
Set-ScheduledTask -TaskName "WAU\Winget-AutoUpdate-Notify" -Action $NotifyUserAction -ErrorAction SilentlyContinue
302302
Write-LogFile "Set Winget-Autoupdate tasks to run $wauWrapperEXE." -Severity 1
303303

304304
if ( $commandLineArguments -match "-StartMenuShortcut" ) {
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)