Fix bug
This commit is contained in:
parent
28b62456bc
commit
afe8f9ae23
@ -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.
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user