WinRE-Customization icon indicating copy to clipboard operation
WinRE-Customization copied to clipboard

$FilesDriver directory attributes not checked correctly

Open elgrunt0 opened this issue 1 year ago • 1 comments

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") ?

elgrunt0 avatar Dec 17 '24 16:12 elgrunt0

Fixed in next commit. Thanks for bringing this up!

MHimken avatar Jan 14 '25 11:01 MHimken