Fixed issue when gathering xml config file.

pull/21/head
Romain 2022-03-07 10:41:43 +01:00 committed by GitHub
parent 50399cd84e
commit 99793334ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ function Get-ExcludedApps{
function Start-WAUUpdateCheck{
#Get AutoUpdate status
[xml]$UpdateStatus = Get-Content "$WorkingDir\config\config.xml" -Encoding UTF8 -ErrorAction SilentlyContinue
$AutoUpdateStatus = $UpdateStatus.app.autoupdate
$AutoUpdateStatus = $UpdateStatus.app.WAUautoupdate
#Check if AutoUpdate is enabled
if ($AutoUpdateStatus -eq $false){