Fixed: sponsorship and premium_free (#551)

* Fixed: sponsorship and premium_free

* Revert date change in README.md
This commit is contained in:
Gile177 2024-07-22 06:27:24 +03:00 committed by GitHub
parent 6efc131765
commit ac41318dd2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@
<h5 align="center">Please support Spotify by purchasing premium</h5>
<p align="center">
<strong>Last updated:</strong> 15 June 2024<br>
<strong>Last tested version:</strong> Spotify for Windows (64 bit) 1.2.39.578.g0ea3f38b
<strong>Last tested version:</strong> Spotify for Windows (64 bit) 1.2.41.434.g39a25e2c
</p>
</center>

View file

@ -31,7 +31,7 @@
"Address": -1
},
"sponsorship": {
"Signature": ".set(\"allSponsorships\",t.sponsorships)})}(e,t);",
"Signature": ".set(\"allSponsorships\",t.sponsorships)}}(e,t);",
"Value": "\"",
"Offset": 5,
"Fill": 15,
@ -59,7 +59,7 @@
"Address": -1
},
"premium_free": {
"Signature": "\"free\"===(null===(t=e.session)",
"Signature": "\"free\"===e.session?.productState?.catalogue?.toLowerCase()",
"Value": "\"",
"Offset": 0,
"Fill": 4,

View file

@ -50,7 +50,7 @@ bool SettingsManager::Save()
{L"Address", -1}
}},
{L"sponsorship", {
{L"Signature", L".set(\"allSponsorships\",t.sponsorships)})}(e,t);" },
{L"Signature", L".set(\"allSponsorships\",t.sponsorships)}}(e,t);"},
{L"Value", L"\""},
{L"Offset", 5},
{L"Fill", 15},
@ -85,7 +85,7 @@ bool SettingsManager::Save()
{L"Address", -1}
}},
{L"premium_free", {
{L"Signature", L"\"free\"===(null===(t=e.session)"},
{L"Signature", L"\"free\"===e.session?.productState?.catalogue?.toLowerCase()"},
{L"Value", L"\""},
{L"Offset", 0},
{L"Fill", 4},