diff --git a/install.bat b/install.bat index 1c0b08e..24a52b8 100644 --- a/install.bat +++ b/install.bat @@ -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