WinRE-Customization
WinRE-Customization copied to clipboard
$FilesDriver directory attributes not checked correctly
Line https://github.com/MHimken/WinRE-Customization/blob/main/Patch-WinRE.ps1#L1034C1-L1034C74
if ((Get-ItemProperty $FilesDriver).Attributes -eq 'Directory') {... returns false when directory has additional attributes such as "NotContentIndexed"
Maybe (Get-ItemProperty $FilesDriver).Attributes -Match "Directory") ?
Fixed in next commit. Thanks for bringing this up!