Bug fix + doc

pull/335/head
Romain 2023-05-04 10:42:42 +02:00 committed by GitHub
parent 6a8bd5670c
commit 18c7f8c61e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 55 additions and 55 deletions

View File

@ -132,7 +132,7 @@ Used in conjunction with the **-ModsPath** parameter to provide the Azure Storag
Install WAU with system and **user** context executions (From version 1.15.3). Applications installed in system context will be ignored under user context.
**-BypassListForUsers**
Bypass Black/White list when run in user context (From version 1.15.0). Also bypass system list (Allowing failing apps to retry under user context. Admin right might be required).
Bypass Black/White list when run in user context (From version 1.15.0).
**-NoClean**
Keep critical files when installing/uninstalling. This setting will keep "excluded_apps.txt", "included_apps.txt", "mods" and "logs" as they were.

View File

@ -68,7 +68,7 @@ Run WAU on metered connection. Default No.
Install WAU with system and user context executions
.PARAMETER BypassListForUsers
Configure WAU to bypass the Black/White list when run in user context
Configure WAU to bypass the Black/White list when run in user context. Applications installed in system context will be ignored under user context.
.EXAMPLE
.\Winget-AutoUpdate-Install.ps1 -Silent -DoNotUpdate -MaxLogFiles 4 -MaxLogSize 2097152

View File

@ -240,7 +240,7 @@ if (Test-Network) {
$Script:InstallOK = 0
#Trick under user context when -BypassListForUsers is used
if ($IsSystem -eq $false -and $WAUConfig.WAU_BypassListForUsers -eq $true) {
if ($IsSystem -eq $false -and $WAUConfig.WAU_BypassListForUsers -eq 1) {
Write-ToLog "Bypass system list in user context is Enabled."
$UseWhiteList = $false
$toSkip = $null