This commit is contained in:
Isaac Shoebottom 2022-02-24 17:46:31 -04:00
parent 28b62456bc
commit afe8f9ae23
2 changed files with 7 additions and 4 deletions

View File

@ -11,3 +11,6 @@ To apply the edit to whichever theme you use, you must go into vortex settings,
``` ```
This should scale the element down to zero and should pretty much solve the issue. If there are any new developments I'll update this repo. This should scale the element down to zero and should pretty much solve the issue. If there are any new developments I'll update this repo.
# Script
The included powershell script will install the theme, remove the button and ask you if you want to remove ads.

View File

@ -1,4 +1,4 @@
# Remove annoyance script v1.0.0 # Remove annoyance script v1.1.1
# For Vortex 1.5.4 / 1.5.5 # For Vortex 1.5.4 / 1.5.5
# Compact Style String # Compact Style String
@ -317,11 +317,11 @@ if (Test-Path -path $VortexThemeFolder) {
Clear-Host Clear-Host
if ($ThemeSelection -eq 4) { if ($ThemeSelection -eq 4) {
Write-Host "Enter your custom theme name exactly, it will not work." Write-Host "Enter your custom theme name exactly, it will only work if the wording is exact"
Write-Host "If the theme does not exist you will be reprompted. If you do not have one installed close the window" Write-Host "If the theme does not exist you will be reprompted. If you do not have one installed close the window"
$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
while (((Test-Path -path $TempThemeFolder) -eq $false) -or ($ThemeName -eq "") -or ($ThemeName -eq $null) -or ($ThemeName -Match ".")) { while (((Test-Path -path $TempThemeFolder) -eq $false) -or ($ThemeName -eq "") -or ($ThemeName -eq $null) -or ($ThemeName -Like "*.*")) {
$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
} }
@ -331,7 +331,7 @@ if (Test-Path -path $VortexThemeFolder) {
Clear-Host Clear-Host
if ($ThemeName -eq "" -or $ThemeName -eq $null -or $ThemeName -Match ".") { if (($ThemeName -eq "") -or ($ThemeName -eq $null) -or ($ThemeName -Like "*.*")) {
$ThemeName = "NoGetMoreMods" $ThemeName = "NoGetMoreMods"
} }