Update VortexAnnoyanceReducer.ps1

Make sure it only lists directories
This commit is contained in:
Isaac Shoebottom 2022-03-10 19:59:40 -04:00
parent 478a6d3b42
commit 98c1e67569

View File

@ -373,7 +373,7 @@ if (Test-Path -path $VortexThemeFolder) {
Write-Host $VortexThemeFolder Write-Host $VortexThemeFolder
Write-Host "" Write-Host ""
Write-Host "Theme Names:" Write-Host "Theme Names:"
Get-ChildItem $VortexThemeFolder -Name Get-ChildItem $VortexThemeFolder -Directory -Name
Write-Host "" Write-Host ""
$ThemeName = Read-Host -prompt "Please enter the name of the theme you want to modify)" $ThemeName = Read-Host -prompt "Please enter the name of the theme you want to modify)"
$TempThemeFolder = $VortexThemeFolder + $ThemeName $TempThemeFolder = $VortexThemeFolder + $ThemeName