diff --git a/README.md b/README.md index 9398b0d..da3d44f 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@
Please support Spotify by purchasing premium

Last updated: 15 June 2024
- Last tested version: Spotify for Windows (64 bit) 1.2.39.578.g0ea3f38b + Last tested version: Spotify for Windows (64 bit) 1.2.41.434.g39a25e2c

diff --git a/blockthespot_settings.json b/blockthespot_settings.json index 8f302de..5272309 100644 --- a/blockthespot_settings.json +++ b/blockthespot_settings.json @@ -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, diff --git a/src/SettingsManager.cpp b/src/SettingsManager.cpp index 7450114..e559ba1 100644 --- a/src/SettingsManager.cpp +++ b/src/SettingsManager.cpp @@ -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},