mirror of
https://github.com/tw93/Mole.git
synced 2026-02-15 19:15:04 +00:00
fix(windows): fix CI function name and purge return type handling
- Fix Test-IsProtectedPath -> Test-ProtectedPath in CI workflow - Fix purge.ps1 to handle boolean return from Remove-SafeItem - Add C:\Program Files and C:\Program Files (x86) to ProtectedPaths
This commit is contained in:
@@ -87,6 +87,8 @@ $script:ProtectedPaths = @(
|
||||
"C:\Windows"
|
||||
"C:\Windows\System32"
|
||||
"C:\Windows\SysWOW64"
|
||||
"C:\Program Files"
|
||||
"C:\Program Files (x86)"
|
||||
"C:\Program Files\Windows Defender"
|
||||
"C:\Program Files (x86)\Windows Defender"
|
||||
"C:\ProgramData\Microsoft\Windows Defender"
|
||||
|
||||
Reference in New Issue
Block a user