From f265a5fca097079cd8fb8a60ed3edd50cd41be5b Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Sat, 8 Feb 2025 18:12:02 +0300 Subject: [PATCH] version bump to 1.2.57.463 --- patches/patches.json | 39 ++++++++++++++++++++++++++++++++++++++- run.ps1 | 16 +++++++++++----- 2 files changed, 49 insertions(+), 6 deletions(-) diff --git a/patches/patches.json b/patches/patches.json index 2dc8b7a..e38d548 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -570,6 +570,24 @@ "native_description": "Enable dynamic colors for the app", "version": { "fr": "1.2.47", + "to": "1.2.57" + } + }, + "EmbeddedNpvAds": { + "name": "enableEmbeddedNpvAds", + "description": "Enable embedded display ads on NPV", + "native_description": "Enable embedded display ads on NPV", + "version": { + "fr": "1.2.57", + "to": "" + } + }, + "EnhancedAdsClientDeconfliction": { + "name": "enableEnhancedAdsClientDeconfliction", + "description": "Enable refactored version of ads orchestrator middleware", + "native_description": "Enable refactored version of ads orchestrator middleware", + "version": { + "fr": "1.2.57", "to": "" } } @@ -1319,7 +1337,7 @@ "native_description": "Enable plus button for creating different types of playlists from global nav bar", "version": { "fr": "1.2.53", - "to": "" + "to": "1.2.56" } }, "ZoomSettingsUIDesktop": { @@ -1348,6 +1366,15 @@ "fr": "1.2.53", "to": "" } + }, + "AlignedPanelHeaders": { + "name": "enableAlignedPanelHeaders", + "description": "Enable aligned panel headers", + "native_description": "Enable aligned panel headers", + "version": { + "fr": "1.2.57", + "to": "" + } } }, "CustomExp": { @@ -1470,6 +1497,16 @@ "fr": "1.2.39", "to": "1.2.50" } + }, + "CreateButton": { + "name": "enableCreateButton", + "description": "Enable create button either in the global navbar or in YLX", + "native_description": "Enable create button either in the global navbar or in YLX", + "value": "NPV_ALWAYS_VISIBLE", + "version": { + "fr": "1.2.57", + "to": "" + } } }, "binary": { diff --git a/run.ps1 b/run.ps1 index 1d370dc..4027685 100644 --- a/run.ps1 +++ b/run.ps1 @@ -371,7 +371,7 @@ if (!($version -and $version -match $match_v)) { } else { # latest tested version for Win 10-12 - $onlineFull = "1.2.56.502.ga68d2d4f-1913" + $onlineFull = "1.2.57.463.g4f748c64-3096" } } else { @@ -1076,9 +1076,9 @@ function Helper($paramname) { $json = $webjson.others } "DisableSentry" { - # Disable Sentry (vendor~xpui.js) + $name = "patches.json.others." - $n = "vendor~xpui.js" + $n = $fileName $contents = "disablesentry" $json = $webjson.others } @@ -1742,8 +1742,14 @@ If ($test_spa) { # Add discriptions (xpui-desktop-modals.js) extract -counts 'one' -method 'zip' -name 'xpui-desktop-modals.js' -helper 'Discriptions' - # Disable Sentry (vendor~xpui.js) - extract -counts 'one' -method 'zip' -name 'vendor~xpui.js' -helper 'DisableSentry' + # Disable Sentry + if ( [version]$offline -le [version]"1.2.56.502" ) { + $fileName = 'vendor~xpui.js' + + } + else { $fileName = 'xpui.js' } + + extract -counts 'one' -method 'zip' -name $fileName -helper 'DisableSentry' # Minification of all *.js extract -counts 'more' -name '*.js' -helper 'MinJs'