mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-03 19:53:50 -05:00
Change output info from 'Write-Warning' to 'Write-Host' to make sure it's displayed even in RunSpaces as well as PowerShell 5 Environments
This commit is contained in:
@ -65,8 +65,8 @@ function Set-WinUtilUITheme {
|
||||
}
|
||||
}
|
||||
catch {
|
||||
Write-Debug "[Set-WinUtilTheme] Unable to apply theme"
|
||||
Write-Debug $psitem.Exception.Message
|
||||
Write-Host "[Set-WinUtilTheme] Unable to apply theme" -ForegroundColor Red
|
||||
Write-Host "$($psitem.Exception.Message)" -ForegroundColor Red
|
||||
$inputXML = "" # Make inputXML equal an empty string, indicating something went wrong to the function caller.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user