Update AddDefenderExceptions.ps1
Pulled duplicate folder out
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user