trying to fix slow boot

an attempt to fix the slow loading of the client, it appears randomly
This commit is contained in:
amd64fox
2022-12-17 18:34:02 +03:00
committed by GitHub
parent 61f54aec3a
commit 98b86056d8

View File

@@ -428,6 +428,7 @@ function downloadScripts($param1) {
$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 = $Matches.Values
$links = $links -replace "upgrade.scdn", "download.scdn"
}
if ($ru -and $param1 -eq "cache-spotify") {
$links2 = "https://raw.githubusercontent.com/SpotX-CLI/SpotX-Win/main/scripts/cache/cache_spotify_ru.ps1"