Cache error

This commit is contained in:
amd64fox
2022-04-04 05:46:58 +03:00
parent bfbc6a11e1
commit 81bb483435
2 changed files with 4 additions and 0 deletions

View File

@@ -690,6 +690,8 @@ if ($cache_install) {
New-Item -Path $env:APPDATA\Spotify\ -Name "cache" -ItemType "directory" | Out-Null
$webClient = New-Object -TypeName System.Net.WebClient
# cache-spotify.ps1
$webClient.DownloadFile('https://raw.githubusercontent.com/amd64fox/SpotX/main/Cache/cache-spotify.ps1', "$env:APPDATA\Spotify\cache\cache-spotify.ps1")

View File

@@ -866,6 +866,8 @@ if ($cache_install) {
Start-Sleep -Milliseconds 200
New-Item -Path $env:APPDATA\Spotify\ -Name "cache" -ItemType "directory" | Out-Null
$webClient = New-Object -TypeName System.Net.WebClient
# cache-spotify.ps1
$webClient.DownloadFile('https://raw.githubusercontent.com/amd64fox/SpotX/main/Cache/cache_spotify_ru.ps1', "$env:APPDATA\Spotify\cache\cache-spotify.ps1")