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
$MoreModsRemover = @"
#more-mods-container {
transform: scale(0%);
display: none;
}
"@
#Remove Nexus Nags
$NagRemover = @"
.nexus-main-banner {
transform: scale(0%);
display: none;
}
.nexus-download-banner {
transform: scale(0%);
display: none;
}
#Go\ Premium {
display: none;
}
"@
#Remove Collections Tab
$RemoveCollections = @"
#Collections {
display: none;
}
"@
@ -382,6 +392,16 @@ if (Test-Path -path $VortexThemeFolder) {
$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 "Have a good day :)"
Read-Host