diff --git a/run.ps1 b/run.ps1 index 6b534535..2f5dffdd 100644 --- a/run.ps1 +++ b/run.ps1 @@ -371,7 +371,7 @@ if (!($version -and $version -match $match_v)) { } else { # Recommended version for Win 10-12 - $onlineFull = "1.2.46.462.gf57913e0-290" + $onlineFull = "1.2.47.364.gf06e5cee-667" } } else { @@ -766,10 +766,9 @@ if ($spotifyInstalled) { $country = [System.Globalization.RegionInfo]::CurrentRegion.EnglishName $txt = [IO.File]::ReadAllText($spotifyExecutable) - $regex = "(\d+)\.(\d+)\.(\d+)\.(\d+)(\.g[0-9a-f]{8})" - $v = $txt | Select-String $regex -AllMatches - $ver = $v.Matches.Value[0] - if ($ver.Count -gt 1) { $ver = $ver[0] } + $regex = "(?