mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-11 17:37:21 +10:00
refactor(installer): simplify downloads and version compatibility handling
- move default Spotify version values into script parameters - support version input with or without the legacy build suffix #829 - auto-adjust unsupported versions for Windows 7/8.1 and x86 systems - simplify downloads to curl first with WebClient fallback only - add WebClient progress output with downloaded MB display - remove hosts file cleanup and unsupported-version telemetry - update README and old theme install examples to the new version format
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
@echo off
|
||||
|
||||
:: Line for changing spotx parameters, each parameter should be separated by a space
|
||||
set param=-v 1.2.13.661.ga588f749-4064 -confirm_spoti_recomended_over -block_update_on
|
||||
set param=-v 1.2.13.661.ga588f749 -confirm_spoti_recomended_over -block_update_on
|
||||
|
||||
set url='https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1'
|
||||
set url2='https://spotx-official.github.io/SpotX/run.ps1'
|
||||
@@ -11,4 +11,4 @@ set tls=[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]:
|
||||
-Command %tls% $p='%param%'; """ & { $(try { iwr -useb %url% } catch { $p+= ' -m'; iwr -useb %url2% })} $p """" | iex
|
||||
|
||||
pause
|
||||
exit /b
|
||||
exit /b
|
||||
|
||||
Reference in New Issue
Block a user