Gui
parent
fb0c8a5776
commit
9f165a8b3d
Binary file not shown.
15
install.bat
15
install.bat
|
@ -1,15 +0,0 @@
|
|||
@echo off
|
||||
|
||||
::::::::::::::::::::::::::::
|
||||
:: Put WAU Arguments here ::
|
||||
::::::::::::::::::::::::::::
|
||||
|
||||
SET arguments=-UpdatesAtLogon -UpdatesInterval Weekly -InstallUserContext -StartMenuShortcut -DesktopShortcut
|
||||
|
||||
|
||||
::::::::::::::::::::::::::::
|
||||
:: Run Powershell Script ::
|
||||
::::::::::::::::::::::::::::
|
||||
|
||||
SET PowershellCmd=Start-Process powershell.exe -Verb RunAs -Argument '-noprofile -executionpolicy bypass -file "%~dp0Winget-AutoUpdate-Install.ps1" %arguments%
|
||||
powershell -Command "& {Get-ChildItem -Path '%~dp0' -Recurse | Unblock-File; %PowershellCmd%'}"
|
|
@ -1,15 +0,0 @@
|
|||
@echo off
|
||||
|
||||
::::::::::::::::::::::::::::
|
||||
:: Put WAU Arguments here ::
|
||||
::::::::::::::::::::::::::::
|
||||
|
||||
SET arguments=-Uninstall
|
||||
|
||||
|
||||
::::::::::::::::::::::::::::
|
||||
:: Run Powershell Script ::
|
||||
::::::::::::::::::::::::::::
|
||||
|
||||
SET PowershellCmd=Start-Process powershell.exe -Verb RunAs -Argument '-noprofile -executionpolicy bypass -file "%~dp0Winget-AutoUpdate-Install.ps1" %arguments%
|
||||
powershell -Command "& {Get-ChildItem -Path '%~dp0' -Recurse | Unblock-File; %PowershellCmd%'}"
|
Loading…
Reference in New Issue