mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-11 17:37:21 +10:00
fix old theme
- forced installation of version 1.2.13 (since the old theme was removed in subsequent versions).
This commit is contained in:
@@ -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') {
|
||||
|
||||
@@ -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
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user