mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-17 21:24:45 +10:00
Enabled the new Search
Enabled the new Search with chips experience
This commit is contained in:
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user