diff --git a/Install.ps1 b/Install.ps1 index 5db7cc0..ea16c84 100644 --- a/Install.ps1 +++ b/Install.ps1 @@ -195,7 +195,19 @@ If (Test-Path $xpui_js_patch) { -replace '(session[,]{1}[a-z]{1}[=]{1}[a-z]{1}[=]{1}[>]{1}[{]{1}var [a-z]{1}[,]{1}[a-z]{1}[,]{1}[a-z]{1}[;]{1}[a-z]{6})(["]{1}free["]{1})', '$1"premium"' ` -replace '([a-z]{1}[.]{1}toLowerCase[(]{1}[)]{2}[}]{1}[,]{1}[a-z]{1}[=]{1}[a-z]{1}[=]{1}[>]{1}[{]{1}var [a-z]{1}[,]{1}[a-z]{1}[,]{1}[a-z]{1}[;]{1}return)(["]{1}premium["]{1})', '$1"free"' ` <# Disabling a playlist sponsor #>` - -replace "allSponsorships", "" + -replace "allSponsorships", "" ` + <# Show "Made For You" entry point in the left sidebar #>` + -replace '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' ` + <# Enables the 2021 icons redraw #>` + -replace '(Enables the 2021 icons redraw which loads a different font asset for rendering icon glyphs.",default:)(!1)', '$1!0' ` + <# Enable Liked Songs section on Artist page #>` + -replace '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' ` + <# Enable block users #>` + -replace '(Enable block users feature in clientX",default:)(!1)', '$1!0' ` + <# Enables quicksilver in-app messaging modal #>` + -replace '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' ` + <# With this enabled, clients will check whether tracks have lyrics available #>` + -replace '(With this enabled, clients will check whether tracks have lyrics available",default:)(!1)', '$1!0' # Disable Podcast if ($Podcasts_off) { @@ -253,7 +265,19 @@ If (Test-Path $xpui_spa_patch) { <# Disabling a playlist sponsor #>` -replace "allSponsorships", "" ` <# Disable Logging #>` - -replace "sp://logging/v3/\w+", "" + -replace "sp://logging/v3/\w+", "" ` + <# Show "Made For You" entry point in the left sidebar #>` + -replace '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' ` + <# Enables the 2021 icons redraw #>` + -replace '(Enables the 2021 icons redraw which loads a different font asset for rendering icon glyphs.",default:)(!1)', '$1!0' ` + <# Enable Liked Songs section on Artist page #>` + -replace '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' ` + <# Enable block users #>` + -replace '(Enable block users feature in clientX",default:)(!1)', '$1!0' ` + <# Enables quicksilver in-app messaging modal #>` + -replace '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' ` + <# With this enabled, clients will check whether tracks have lyrics available #>` + -replace '(With this enabled, clients will check whether tracks have lyrics available",default:)(!1)', '$1!0' # Disable Podcast if ($Podcasts_off) { diff --git a/Install_rus.ps1 b/Install_rus.ps1 index 15da566..8943bda 100644 --- a/Install_rus.ps1 +++ b/Install_rus.ps1 @@ -195,7 +195,19 @@ If (Test-Path $xpui_js_patch) { -replace '(session[,]{1}[a-z]{1}[=]{1}[a-z]{1}[=]{1}[>]{1}[{]{1}var [a-z]{1}[,]{1}[a-z]{1}[,]{1}[a-z]{1}[;]{1}[a-z]{6})(["]{1}free["]{1})', '$1"premium"' ` -replace '([a-z]{1}[.]{1}toLowerCase[(]{1}[)]{2}[}]{1}[,]{1}[a-z]{1}[=]{1}[a-z]{1}[=]{1}[>]{1}[{]{1}var [a-z]{1}[,]{1}[a-z]{1}[,]{1}[a-z]{1}[;]{1}return)(["]{1}premium["]{1})', '$1"free"' ` <# Disabling a playlist sponsor #>` - -replace "allSponsorships", "" + -replace "allSponsorships", "" ` + <# Show "Made For You" entry point in the left sidebar #>` + -replace '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' ` + <# Enables the 2021 icons redraw #>` + -replace '(Enables the 2021 icons redraw which loads a different font asset for rendering icon glyphs.",default:)(!1)', '$1!0' ` + <# Enable Liked Songs section on Artist page #>` + -replace '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' ` + <# Enable block users #>` + -replace '(Enable block users feature in clientX",default:)(!1)', '$1!0' ` + <# Enables quicksilver in-app messaging modal #>` + -replace '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' ` + <# With this enabled, clients will check whether tracks have lyrics available #>` + -replace '(With this enabled, clients will check whether tracks have lyrics available",default:)(!1)', '$1!0' # Disable Podcast if ($Podcasts_off) { @@ -253,7 +265,19 @@ If (Test-Path $xpui_spa_patch) { <# Disabling a playlist sponsor #>` -replace "allSponsorships", "" ` <# Disable Logging #>` - -replace "sp://logging/v3/\w+", "" + -replace "sp://logging/v3/\w+", "" ` + <# Show "Made For You" entry point in the left sidebar #>` + -replace '(Show "Made For You" entry point in the left sidebar.,default:)(!1)', '$1!0' ` + <# Enables the 2021 icons redraw #>` + -replace '(Enables the 2021 icons redraw which loads a different font asset for rendering icon glyphs.",default:)(!1)', '$1!0' ` + <# Enable Liked Songs section on Artist page #>` + -replace '(Enable Liked Songs section on Artist page",default:)(!1)', '$1!0' ` + <# Enable block users #>` + -replace '(Enable block users feature in clientX",default:)(!1)', '$1!0' ` + <# Enables quicksilver in-app messaging modal #>` + -replace '(Enables quicksilver in-app messaging modal",default:)(!0)', '$1!1' ` + <# With this enabled, clients will check whether tracks have lyrics available #>` + -replace '(With this enabled, clients will check whether tracks have lyrics available",default:)(!1)', '$1!0' # Disable Podcast if ($Podcasts_off) {