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> <h5 align="center">Please support Spotify by purchasing premium</h5>
<p align="center"> <p align="center">
<strong>Last updated:</strong> 15 June 2024<br> <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> </p>
</center> </center>

View file

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

View file

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