From 24ef481778e5cabd9d948af34f9abf02fe451832 Mon Sep 17 00:00:00 2001 From: amd64fox Date: Thu, 31 Mar 2022 17:57:49 +0300 Subject: [PATCH] Enabled the new Search Enabled the new Search with chips experience --- Install.ps1 | 4 +++- Install_rus.ps1 | 2 ++ README.md | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Install.ps1 b/Install.ps1 index 997ee18..2463e00 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -368,7 +368,8 @@ function OffAdsOnFullscreen { } function ExpFeature { # Experimental Feature - $exp_features1 = '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' + $exp_features1 = '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' + $exp_features2 = '(Enable the new Search with chips experience",default:)(!1)', '$1!0' $exp_features3 = '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' $exp_features4 = '(Enable block users feature in clientX",default:)(!1)', '$1!0' $exp_features5 = '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' @@ -377,6 +378,7 @@ function ExpFeature { $exp_features8 = '(Enable Enhance Playlist UI and functionality",default:)(!1)', '$1!0' $exp_features9 = '(Enable a condensed disography shelf on artist pages",default:)(!1)', '$1!0' if ($xpui_js -match $exp_features1[0]) { $xpui_js = $xpui_js -replace $exp_features1[0], $exp_features1[1] } else { Write-Host "Didn't find variable " -ForegroundColor red -NoNewline; Write-Host "`$exp_features1[0] in xpui.js" } + if ($xpui_js -match $exp_features2[0]) { $xpui_js = $xpui_js -replace $exp_features2[0], $exp_features2[1] } else { Write-Host "Didn't find variable " -ForegroundColor red -NoNewline; Write-Host "`$exp_features2[0] in xpui.js" } if ($xpui_js -match $exp_features3[0]) { $xpui_js = $xpui_js -replace $exp_features3[0], $exp_features3[1] } else { Write-Host "Didn't find variable " -ForegroundColor red -NoNewline; Write-Host "`$exp_features3[0] in xpui.js" } if ($xpui_js -match $exp_features4[0]) { $xpui_js = $xpui_js -replace $exp_features4[0], $exp_features4[1] } else { Write-Host "Didn't find variable " -ForegroundColor red -NoNewline; Write-Host "`$exp_features4[0] in xpui.js" } if ($xpui_js -match $exp_features5[0]) { $xpui_js = $xpui_js -replace $exp_features5[0], $exp_features5[1] } else { Write-Host "Didn't find variable " -ForegroundColor red -NoNewline; Write-Host "`$exp_features5[0] in xpui.js" } diff --git a/Install_rus.ps1 b/Install_rus.ps1 index 0921005..2abd3bc 100644 --- a/Install_rus.ps1 +++ b/Install_rus.ps1 @@ -374,6 +374,7 @@ function OffRujs { function ExpFeature { # Эксперементальные фишки $exp_features1 = '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' + $exp_features2 = '(Enable the new Search with chips experience",default:)(!1)', '$1!0' $exp_features3 = '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' $exp_features4 = '(Enable block users feature in clientX",default:)(!1)', '$1!0' $exp_features5 = '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' @@ -382,6 +383,7 @@ function ExpFeature { $exp_features8 = '(Enable Enhance Playlist UI and functionality",default:)(!1)', '$1!0' $exp_features9 = '(Enable a condensed disography shelf on artist pages",default:)(!1)', '$1!0' if ($xpui_js -match $exp_features1[0]) { $xpui_js = $xpui_js -replace $exp_features1[0], $exp_features1[1] } else { Write-Host "Не нашел " -ForegroundColor red -NoNewline; Write-Host "переменную `$exp_features1[0] в xpui.js" } + if ($xpui_js -match $exp_features2[0]) { $xpui_js = $xpui_js -replace $exp_features2[0], $exp_features2[1] } else { Write-Host "Не нашел " -ForegroundColor red -NoNewline; Write-Host "переменную `$exp_features2[0] в xpui.js" } if ($xpui_js -match $exp_features3[0]) { $xpui_js = $xpui_js -replace $exp_features3[0], $exp_features3[1] } else { Write-Host "Не нашел " -ForegroundColor red -NoNewline; Write-Host "переменную `$exp_features3[0] в xpui.js" } if ($xpui_js -match $exp_features4[0]) { $xpui_js = $xpui_js -replace $exp_features4[0], $exp_features4[1] } else { Write-Host "Не нашел " -ForegroundColor red -NoNewline; Write-Host "переменную `$exp_features4[0] в xpui.js" } if ($xpui_js -match $exp_features5[0]) { $xpui_js = $xpui_js -replace $exp_features5[0], $exp_features5[1] } else { Write-Host "Не нашел " -ForegroundColor red -NoNewline; Write-Host "переменную `$exp_features5[0] в xpui.js" } diff --git a/README.md b/README.md index 7459f8b..03902a0 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ * Blocks automatic updates (optional) * [Automatic cache clearing](https://github.com/amd64fox/SpotX/discussions/2) (optional) * Enabled Enhance playlist -* Enabled the 2021 icons redraw +* Enabled the new Search with chips experience * Enabled a condensed discography shelf on artist pages * Activated "Made For You" in the left sidebar * Disabled Sentry (Prevented Sentry from sending console log/error/warning to Spotify developers)