diff --git a/Install.ps1 b/Install.ps1 index 7fc6f61..dc41589 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -822,7 +822,7 @@ if (!($block_update_on) -and !($block_update_off)) { if ($ch -eq 'y') { $block_update = $true } if (!($new_theme) -and [version]$offline -ge [version]"1.2.14.1141") { - Write-Host "This version does not support the old theme, use version 1.2.13.661 or below`n" + Write-Warning "This version does not support the old theme, use version 1.2.13.661 or below`n" } if ($ch -eq 'n') { diff --git a/Install_Old_theme.bat b/Install_Old_theme.bat index 2b6c7c2..86116c5 100644 --- a/Install_Old_theme.bat +++ b/Install_Old_theme.bat @@ -1,6 +1,6 @@ @echo off -%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "& {[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}"; "& {(Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | Invoke-Expression}" +%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\powershell.exe -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} -v 1.2.13.661.ga588f749-4064 -confirm_spoti_recomended_over -block_update_on """" | Invoke-Expression" pause -exit /b +exit /b \ No newline at end of file diff --git a/README.md b/README.md index abaa4ca..e630ed7 100644 --- a/README.md +++ b/README.md @@ -58,8 +58,9 @@ or Usual installation (Old theme)

#### During installation, you need to confirm some actions, also contains: - + - Forced installation of version 1.2.13 (since the old theme was removed in subsequent versions) - Old theme activated + - Automatic blocking of Spotify updates - All [experimental features](https://github.com/amd64fox/SpotX/discussions/50) included

@@ -71,7 +72,7 @@ or #### Run The following command in PowerShell: ```ps1 -[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; (iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content | iex +[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; iex "& { $((iwr -useb 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content) } -v 1.2.13.661.ga588f749-4064 -confirm_spoti_recomended_over -block_update_on" ```