mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-22 19:10:19 +10:00
Update
- banner removed from main page - shortcut for history on the main page is temporarily disabled
This commit is contained in:
11
Install.ps1
11
Install.ps1
@@ -1027,6 +1027,7 @@ function Helper($paramname) {
|
||||
if ($enhance_playlist_off) { $remEnable.remove('EnhancePlaylist') }
|
||||
# if ($smartShuffle_off) { $remEnable.remove('SmartShuffle') }
|
||||
$remEnable.remove('SmartShuffle')
|
||||
$remEnable.remove('RecentlyPlayedShortcut')
|
||||
if (!($funnyprogressBar)) { $remEnable.remove('HeBringsNpb') }
|
||||
# Old theme
|
||||
if (!($new_theme) -and [version]$offline -le [version]"1.2.13.661") {
|
||||
@@ -1161,6 +1162,13 @@ function Helper($paramname) {
|
||||
$contents = "podcast_ad_block"
|
||||
$json = $webjson.others
|
||||
}
|
||||
"BannerHome" {
|
||||
# Remove banner on home page
|
||||
$name = "patches.json.others."
|
||||
$n = "home-hpto.js"
|
||||
$contents = "BannerHome"
|
||||
$json = $webjson.others
|
||||
}
|
||||
"BlockUpdate" {
|
||||
# Block Spotify client updates
|
||||
$name = "patches.json.others."
|
||||
@@ -1442,6 +1450,9 @@ If ($test_spa) {
|
||||
extract -counts 'one' -method 'zip' -name $js -helper 'OffAdSections'
|
||||
}
|
||||
|
||||
# Remove banner on home page
|
||||
extract -counts 'one' -method 'zip' -name 'home-hpto.js' -helper 'BannerHome'
|
||||
|
||||
# Hide Collaborators icon
|
||||
if (!($hide_col_icon_off) -and !($exp_spotify)) {
|
||||
extract -counts 'one' -method 'zip' -name 'xpui-routes-playlist.js' -helper 'Collaborators'
|
||||
|
||||
Reference in New Issue
Block a user