diff --git a/patches/patches.json b/patches/patches.json index 9386bdd..fbe2811 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -428,6 +428,24 @@ "fr": "1.2.36", "to": "" } + }, + "ArtistNPVImpressionsLogging": { + "name": "enableArtistNPVImpressions", + "description": "Enables impression logging for the Artist About section in NPV", + "native_description": "Enables impression logging for the Artist About section in NPV", + "version": { + "fr": "1.2.37", + "to": "" + } + }, + "SpotlightImpressionLogging": { + "name": "enableSpotlightImpressionLogging", + "description": "Enables impression logging for Spotlight", + "native_description": "Enables impression logging for Spotlight", + "version": { + "fr": "1.2.37", + "to": "" + } } }, "EnableExp": { @@ -1628,8 +1646,8 @@ "fr": "1.1.93", "to": "" }, - "match": "(this\\._product_state(?:|_service)=(.))", - "replace": "$1,$2.putOverridesValues({0})", + "match": "(this\\.(?:productStateApi|_product_state)(?:|_service)=(.))(?=}|,this\\.productStateApi|,this\\._events)", + "replace": "$1,$2?.putOverridesValues?.({0})", "add": "ads:'0',catalogue:'premium',product:'premium',type:'premium',name:'Spotify','unrestricted':'1'", "add2": "'storage-size-config':'{0},90,500,3'" }, @@ -1640,7 +1658,7 @@ }, "match": [ "(onSelected:).{3,14}({..\"app.enable.developer.mode.,).\\)(,.\\(!0\\))?}", - "{(.{5,20}?|)(this\\._product_state(?:|_service)=(.))", + "{(.{5,20}?|)(this\\.(?:productStateApi|_product_state)(?:|_service)=(.))(?=}|,this.productStateApi|,this._events|,.\\?\\.putOverridesValues)", "(..\\(.\\)|.)(\\?(..createElement|\\(.{1,7}jsxs\\))\\(.{1,3},{filterMatchQuery:.{2,15}\\(\"settings.employee\"\\))" ], "replace": [ diff --git a/run.ps1 b/run.ps1 index 8d2d963..7e23836 100644 --- a/run.ps1 +++ b/run.ps1 @@ -366,7 +366,7 @@ if (!($version -and $version -match $match_v)) { } else { # Recommended version for Win 10-12 - $onlineFull = "1.2.36.959.g04bf500c-845" + $onlineFull = "1.2.37.701.ge66eb7bc-1204" } } else {