Update VortexAnnoyanceReducer.ps1

This commit is contained in:
Isaac Shoebottom 2022-02-24 18:01:42 -04:00
parent afe8f9ae23
commit 534f2db416

View File

@ -286,17 +286,27 @@ This directory exists only to make the "default" option available without hard-c
#More Mods Remover #More Mods Remover
$MoreModsRemover = @" $MoreModsRemover = @"
#more-mods-container { #more-mods-container {
transform: scale(0%); display: none;
} }
"@ "@
#Remove Nexus Nags #Remove Nexus Nags
$NagRemover = @" $NagRemover = @"
.nexus-main-banner { .nexus-main-banner {
transform: scale(0%); display: none;
} }
.nexus-download-banner { .nexus-download-banner {
transform: scale(0%); display: none;
}
#Go\ Premium {
display: none;
}
"@
#Remove Collections Tab
$RemoveCollections = @"
#Collections {
display: none;
} }
"@ "@
@ -381,6 +391,16 @@ if (Test-Path -path $VortexThemeFolder) {
Write-Host $NagRemover Write-Host $NagRemover
$NagRemover | Out-File -FilePath $ThemeStyleFile -Append -Encoding UTF8 $NagRemover | Out-File -FilePath $ThemeStyleFile -Append -Encoding UTF8
} }
Write-Host ""
Write-Host "Would you like to remove the collections button"
$CollectionsSelection = Read-Host -prompt "(Y/N) or (y/n)"
If ($CollectionsSelection -eq "Y" -or $CollectionsSelection -eq "y") {
Write-Host ""
Write-Host $RemoveCollections
$RemoveCollections | Out-File -FilePath $ThemeStyleFile -Append -Encoding UTF8
}
Write-Host "" Write-Host ""
Write-Host "Have a good day :)" Write-Host "Have a good day :)"