fix old theme

- forced installation of version 1.2.13 (since the old theme was removed in subsequent versions).
This commit is contained in:
amd64fox
2023-06-18 00:56:09 +03:00
parent b0e7cf1fe8
commit b0c2acf182
3 changed files with 6 additions and 5 deletions

View File

@@ -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') {

View File

@@ -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

View File

@@ -58,8 +58,9 @@ or
<summary><small>Usual installation (Old theme)</small></summary><p>
#### 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
<h4> </h4>
@@ -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"
```
</details>