added InstallUserContext argument

pull/212/head
Romain 2022-10-25 01:51:03 +02:00 committed by GitHub
parent 4bc6e50818
commit 5fe54c6ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
@echo off
SET arguments=-UpdatesAtLogon -UpdatesInterval Weekly -StartMenuShortcut
SET arguments=-UpdatesAtLogon -UpdatesInterval Weekly -StartMenuShortcut -InstallUserContext
powershell -Command "Get-ChildItem -Path '%~dp0' -Recurse | Unblock-File; Start-Process powershell.exe -Argument '-noprofile -executionpolicy bypass -file """%~dp0Winget-AutoUpdate-Install.ps1"" %arguments%'" -Verb RunAs