mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-21 18:40:20 +10:00
trying to fix slow boot
an attempt to fix the slow loading of the client, it appears randomly
This commit is contained in:
@@ -428,6 +428,7 @@ function downloadScripts($param1) {
|
|||||||
$old = [IO.File]::ReadAllText($l)
|
$old = [IO.File]::ReadAllText($l)
|
||||||
$links = $old -match "https:\/\/upgrade.scdn.co\/upgrade\/client\/win32-x86\/spotify_installer-$online\.g[0-9a-f]{8}-[0-9]{1,4}\.exe"
|
$links = $old -match "https:\/\/upgrade.scdn.co\/upgrade\/client\/win32-x86\/spotify_installer-$online\.g[0-9a-f]{8}-[0-9]{1,4}\.exe"
|
||||||
$links = $Matches.Values
|
$links = $Matches.Values
|
||||||
|
$links = $links -replace "upgrade.scdn", "download.scdn"
|
||||||
}
|
}
|
||||||
if ($ru -and $param1 -eq "cache-spotify") {
|
if ($ru -and $param1 -eq "cache-spotify") {
|
||||||
$links2 = "https://raw.githubusercontent.com/SpotX-CLI/SpotX-Win/main/scripts/cache/cache_spotify_ru.ps1"
|
$links2 = "https://raw.githubusercontent.com/SpotX-CLI/SpotX-Win/main/scripts/cache/cache_spotify_ru.ps1"
|
||||||
|
|||||||
Reference in New Issue
Block a user