mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-24 03:50:18 +10:00
version bump to 1.2.47.364
- fixed logic for determining new version
This commit is contained in:
9
run.ps1
9
run.ps1
@@ -371,7 +371,7 @@ if (!($version -and $version -match $match_v)) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
# Recommended version for Win 10-12
|
# Recommended version for Win 10-12
|
||||||
$onlineFull = "1.2.46.462.gf57913e0-290"
|
$onlineFull = "1.2.47.364.gf06e5cee-667"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
@@ -766,10 +766,9 @@ if ($spotifyInstalled) {
|
|||||||
$country = [System.Globalization.RegionInfo]::CurrentRegion.EnglishName
|
$country = [System.Globalization.RegionInfo]::CurrentRegion.EnglishName
|
||||||
|
|
||||||
$txt = [IO.File]::ReadAllText($spotifyExecutable)
|
$txt = [IO.File]::ReadAllText($spotifyExecutable)
|
||||||
$regex = "(\d+)\.(\d+)\.(\d+)\.(\d+)(\.g[0-9a-f]{8})"
|
$regex = "(?<![\w\-])(\d+)\.(\d+)\.(\d+)\.(\d+)(\.g[0-9a-f]{8})(?![\w\-])"
|
||||||
$v = $txt | Select-String $regex -AllMatches
|
$matches = [regex]::Matches($txt, $regex)
|
||||||
$ver = $v.Matches.Value[0]
|
$ver = $matches[0].Value
|
||||||
if ($ver.Count -gt 1) { $ver = $ver[0] }
|
|
||||||
|
|
||||||
$Parameters = @{
|
$Parameters = @{
|
||||||
Uri = 'https://docs.google.com/forms/d/e/1FAIpQLSegGsAgilgQ8Y36uw-N7zFF6Lh40cXNfyl1ecHPpZcpD8kdHg/formResponse'
|
Uri = 'https://docs.google.com/forms/d/e/1FAIpQLSegGsAgilgQ8Y36uw-N7zFF6Lh40cXNfyl1ecHPpZcpD8kdHg/formResponse'
|
||||||
|
|||||||
Reference in New Issue
Block a user