mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-14 03:16:33 +10:00
download error fixed
This commit is contained in:
@@ -489,6 +489,7 @@ function Get-SpotifyInstallerArchitecture {
|
|||||||
|
|
||||||
$spotifyDownloadBaseUrl = "https://loadspot.amd64fox1.workers.dev/download"
|
$spotifyDownloadBaseUrl = "https://loadspot.amd64fox1.workers.dev/download"
|
||||||
$spotifyTemporaryDownloadBaseUrl = "https://loadspot.amd64fox1.workers.dev/temporary-download"
|
$spotifyTemporaryDownloadBaseUrl = "https://loadspot.amd64fox1.workers.dev/temporary-download"
|
||||||
|
$spotifyTemporaryDownloadVersion = "1.2.86.502.g8cd7fb22"
|
||||||
$systemArchitecture = Get-SystemArchitecture
|
$systemArchitecture = Get-SystemArchitecture
|
||||||
|
|
||||||
$match_v = "^(?<version>\d+\.\d+\.\d+\.\d+\.g[0-9a-f]{8})(?:-\d+)?$"
|
$match_v = "^(?<version>\d+\.\d+\.\d+\.\d+\.g[0-9a-f]{8})(?:-\d+)?$"
|
||||||
@@ -1245,8 +1246,7 @@ function downloadSp([string]$DownloadFolder) {
|
|||||||
-LastX86SupportedVersion $last_x86
|
-LastX86SupportedVersion $last_x86
|
||||||
|
|
||||||
$downloadBaseUrl = $spotifyDownloadBaseUrl
|
$downloadBaseUrl = $spotifyDownloadBaseUrl
|
||||||
if ($onlineFull -eq $latest_full -and $arch -eq 'x64') {
|
if ($onlineFull -eq $spotifyTemporaryDownloadVersion -and $arch -eq 'x64') {
|
||||||
# Temporary route for the latest x64 build while Cloudflare rechecks the file
|
|
||||||
$downloadBaseUrl = $spotifyTemporaryDownloadBaseUrl
|
$downloadBaseUrl = $spotifyTemporaryDownloadBaseUrl
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user