diff --git a/patches/patches.json b/patches/patches.json index b0f1069..47a1081 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -50,9 +50,17 @@ }, "downloadquality": { "version": { - "fr": "1.1.70", + "fr": "1.2.30", "to": "" }, + "match": "(return[^;]*?)(null[^;]*?desktop\\.settings\\.downloadQuality\\.title)", + "replace": "return true ? $2" + }, + "downloadqualityold": { + "version": { + "fr": "1.1.70", + "to": "1.2.29" + }, "match": "(\\(.,..jsxs\\)\\(.{1,3}|(.\\(\\).|..)createElement\\(.{1,4}),{(filterMatchQuery|filter:.,title|(variant:\"viola\",semanticColor:\"textSubdued\"|..:\"span\",variant:.{3,6}mesto,color:.{3,6}),htmlFor:\"desktop.settings.downloadQuality.+?).{1,6}get\\(\"desktop.settings.downloadQuality.title.+?(children:.{1,2}\\(.,.\\).+?,|\\(.,.\\){3,4},|,.\\)}},.\\(.,.\\)\\),)", "replace": "" } @@ -347,6 +355,15 @@ "fr": "1.2.26", "to": "" } + }, + "PodcastSponsoredContent": { + "name": "enablePodcastSponsoredContent", + "description": "Enable sponsored content information for podcasts", + "native_description": "Enable sponsored content information for podcasts", + "version": { + "fr": "1.2.26", + "to": "" + } } }, "EnableExp": { @@ -788,7 +805,7 @@ "native_description": "Show global nav bar with home button, search input and user avatar", "version": { "fr": "1.2.27", - "to": "" + "to": "1.2.29" } }, "BrowseViaPathfinder": { @@ -799,6 +816,24 @@ "fr": "1.1.70", "to": "1.2.24" } + }, + "NotificationCenter": { + "name": "Enables notification center for desktop & web", + "description": "Enables notification center for desktop & web", + "native_description": "", + "version": { + "fr": "1.2.30", + "to": "" + } + }, + "DevicePickerSidePanel": { + "name": "enableDevicePickerSidePanel", + "description": "Enables Device Picker as a side panel", + "native_description": "", + "version": { + "fr": "1.2.30", + "to": "" + } } }, @@ -872,6 +907,16 @@ "fr": "1.2.18", "to": "" } + }, + "GlobalNavBar": { + "name": "enableGlobalNavBar", + "description": "Show global nav bar with home button, search input and user avatar", + "native_description": "Show global nav bar with home button, search input and user avatar", + "value": "home-next-to-search", + "version": { + "fr": "1.2.30", + "to": "" + } } }, "binary": { diff --git a/run.ps1 b/run.ps1 index f5da007..5cfd21a 100644 --- a/run.ps1 +++ b/run.ps1 @@ -368,7 +368,7 @@ if (!($version -and $version -match $match_v)) { } else { # Recommended version for Win 10-12 - $onlineFull = "1.2.29.605.g66a43ceb-1227" + $onlineFull = "1.2.30.1135.g02fef27a-399" } } else { @@ -1103,7 +1103,10 @@ function Helper($paramname) { if (!($plus)) { Move-Json -n 'Plus' -t $Enable -f $Disable } - if (!($topsearchbar)){ Move-Json -n 'GlobalNavBar' -t $Enable -f $Disable } + if (!($topsearchbar)){ + Move-Json -n "GlobalNavBar" -t $Enable -f $Disable + $Custom.GlobalNavBar.value = "control" + } if (!($funnyprogressbar)) { Move-Json -n 'HeBringsNpb' -t $Enable -f $Disable }