2 Commits
Author SHA1 Message Date
amd64fox 730ea89a66 version bump to 1.2.88.484 2026-04-29 23:32:09 +03:00
amd64fox 513bbdbe57 fix: update SpotX check version source 2026-04-29 23:22:50 +03:00
3 changed files with 29 additions and 10 deletions
+27 -9
View File
@@ -14,19 +14,37 @@ jobs:
- name: Run Spotx
shell: powershell
run: |
$jsonUrl = "https://raw.githubusercontent.com/amd64fox/LoaderSpot/main/versions.json"
$jsonUrl = "https://raw.githubusercontent.com/LoaderSpot/table/refs/heads/main/table/versions.json"
$resp = Invoke-RestMethod -Uri $jsonUrl
# Get a link to the x86 installer for the first version
$firstVersion = $resp.PSObject.Properties.Name | Select-Object -First 1
$x64InstallerUrl = $resp.$firstVersion.links.win.x64
# Use fullversion because installer names include architecture suffixes
$latestEntry = $resp.PSObject.Properties | Select-Object -First 1
if (-not $latestEntry) {
throw "No Spotify versions found in $jsonUrl"
}
# Regex to find the desired part of the link
$regex = [regex]::Match($x64InstallerUrl, "spotify_installer-(.+?)\.exe")
$version = $regex.Groups[1].Value
$spotifyFullVersion = $latestEntry.Value.fullversion
if ([string]::IsNullOrWhiteSpace($spotifyFullVersion) -or $spotifyFullVersion -notmatch '^\d+\.\d+\.\d+\.\d+\.g[0-9a-f]{8}$') {
throw "Invalid Spotify fullversion for $($latestEntry.Name)"
}
# Incoming parameters
$parametrs = '-Verbose -new_theme -v $version -sp-over -cache_limit 1000 -block_update_on -lyrics_stat spotify -urlform_goofy "https://docs.google.com/forms/formResponse" -idbox_goofy "9999999" -podcasts_off -adsections_off -lyrics_block'
$parameters = @{
Verbose = $true
new_theme = $true
version = $spotifyFullVersion
confirm_spoti_recomended_over = $true
cache_limit = 1000
block_update_on = $true
lyrics_stat = "spotify"
urlform_goofy = "https://docs.google.com/forms/formResponse"
idbox_goofy = "9999999"
podcasts_off = $true
adsections_off = $true
lyrics_block = $true
}
# Run Spotx
iex "& { $(iwr -useb 'https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1') } $parametrs"
$spotxUrl = "https://raw.githubusercontent.com/SpotX-Official/SpotX/refs/heads/main/run.ps1"
$spotxScript = [scriptblock]::Create((Invoke-WebRequest -UseBasicParsing -Uri $spotxUrl).Content)
& $spotxScript @parameters
+1
View File
@@ -0,0 +1 @@
AGENTS.md
+1 -1
View File
@@ -2,7 +2,7 @@
param
(
[Parameter(HelpMessage = 'Latest recommended Spotify version for Windows 10+.')]
[string]$latest_full = "1.2.88.483.g8aa8628e",
[string]$latest_full = "1.2.88.484.g3a9ab868",
[Parameter(HelpMessage = 'Latest supported Spotify version for Windows 7-8.1')]
[string]$last_win7_full = "1.2.5.1006.g22820f93",