Reformat using VSCode

This commit is contained in:
Isaac Shoebottom 2023-07-17 00:46:45 -03:00
parent dba7be5529
commit 5b8d8b7bc2

View File

@ -313,7 +313,7 @@ $RemoveCollections = @"
$NetworkInstallChoice = Read-Host -prompt "Would you like to use a networked install (Most recent versions of default themes/patches) (Y/N) or (y/n)" $NetworkInstallChoice = Read-Host -prompt "Would you like to use a networked install (Most recent versions of default themes/patches) (Y/N) or (y/n)"
If ($NetworkInstallChoice -eq "Y" -or $NetworkInstallChoice -eq "y") { If ($NetworkInstallChoice -eq "Y" -or $NetworkInstallChoice -eq "y") {
# Use TSL 1.2 # Use TSL 1.2
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
@ -336,7 +336,7 @@ $NetworkInstallChoice = Read-Host -prompt "Would you like to use a networked ins
#Remove Collection #Remove Collection
$RemoveCollections = Invoke-WebRequest 'https://raw.githubusercontent.com/Glaceon575/VortexNoGetMoreModsBox/master/Stylesheets/RemoveCollection.css' | Select-Object -Expand Content $RemoveCollections = Invoke-WebRequest 'https://raw.githubusercontent.com/Glaceon575/VortexNoGetMoreModsBox/master/Stylesheets/RemoveCollection.css' | Select-Object -Expand Content
} }
@ -385,7 +385,8 @@ if (Test-Path -path $VortexThemeFolder) {
$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
} }
} else { }
else {
$ThemeName = Read-Host -prompt "Please enter the name for your theme (Default is `"NoGetMoreMods`")" $ThemeName = Read-Host -prompt "Please enter the name for your theme (Default is `"NoGetMoreMods`")"
} }
@ -484,7 +485,8 @@ if (Test-Path -path $VortexThemeFolder) {
Write-Host "Have a good day :)" Write-Host "Have a good day :)"
Read-Host Read-Host
} else { }
else {
Write-Host "If you see this text, it means you do not have a vortex themes folder, even though the script tried to create one, and something is wrong" Write-Host "If you see this text, it means you do not have a vortex themes folder, even though the script tried to create one, and something is wrong"
Write-Host "If you know you do have one (please check), report it to me on nexus with details!" Write-Host "If you know you do have one (please check), report it to me on nexus with details!"
} }