Add network support for always up to date support

This commit is contained in:
Isaac Shoebottom 2022-03-03 15:31:40 -04:00
parent ea5582241a
commit f95c1099b0
4 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#more-mods-container {
display: none;
}

View File

@ -0,0 +1,9 @@
.nexus-main-banner {
display: none;
}
.nexus-download-banner {
display: none;
}
#Go\ Premium {
display: none;
}

View File

@ -0,0 +1,3 @@
#Collections {
display: none;
}

View File

@ -310,6 +310,28 @@ $RemoveCollections = @"
} }
"@ "@
$NetworkInstallChoice = Read-Host -prompt "Would you like to use a networked install (Most recent versions of default themes/patches)?"
If ($NetworkInstallChoice -eq "Y" -or $CollectionsSelection -eq "y") {
# Compact
$CompactStyle = Invoke-WebRequest 'https://raw.githubusercontent.com/Nexus-Mods/extension-theme-switcher/master/themes/compact/style.scss' | Select-Object -Expand Content
$CompactVariable = Invoke-WebRequest 'https://raw.githubusercontent.com/Nexus-Mods/extension-theme-switcher/master/themes/compact/variables.scss' | Select-Object -Expand Content
#Contrast
$ContrastStyle = Invoke-WebRequest 'https://raw.githubusercontent.com/Nexus-Mods/extension-theme-switcher/master/themes/contrast/style.scss' | Select-Object -Expand Content
$ContrastVariable = Invoke-WebRequest 'https://raw.githubusercontent.com/Nexus-Mods/extension-theme-switcher/master/themes/contrast/variables.scss' | Select-Object -Expand Content
#Default
$ThemeDummyFile = Invoke-WebRequest 'https://raw.githubusercontent.com/Nexus-Mods/extension-theme-switcher/master/themes/default/dummy.txt' | Select-Object -Expand Content
#Mods Remover
#Remove Nag/Ads
#Remove Collection
}
$VortexThemeFolder = $env:APPDATA + "\Vortex\themes\" $VortexThemeFolder = $env:APPDATA + "\Vortex\themes\"
if (Test-Path -path $VortexThemeFolder) { if (Test-Path -path $VortexThemeFolder) {
Do { Do {