Update AddDefenderExceptions.ps1

Pulled duplicate folder out
This commit is contained in:
tastyratz
2024-12-31 16:47:20 -05:00
committed by Maxine
parent a6525bf885
commit 5df51cfcba

View File

@@ -38,11 +38,10 @@ start-sleep -s 5
$paths = @( $paths = @(
"$PSScriptRoot", # Replaces 'C:\RSL' with the script's root directory "$PSScriptRoot", # Replaces 'C:\RSL' with the script's root directory
"$PSScriptRoot\Rookie", "$PSScriptRoot\rclone",
"$PSScriptRoot\Rookie\rclone", "$PSScriptRoot\Sideloader Launcher.exe",
"$PSScriptRoot\Rookie\Sideloader Launcher.exe", "$PSScriptRoot\AndroidSideloader*.exe",
"$PSScriptRoot\Rookie\AndroidSideloader*.exe", "$PSScriptRoot\rclone\rclone.exe"
"$PSScriptRoot\Rookie\rclone\rclone.exe"
) )
foreach ($path in $paths) { foreach ($path in $paths) {
@@ -68,6 +67,6 @@ $paths | ForEach-Object {
Write-Host "$_ is NOT excluded from Defender." Write-Host "$_ is NOT excluded from Defender."
} }
} }
pause Pause
Start-Sleep -s 5 Start-Sleep -s 5