diff --git a/patches/patches.json b/patches/patches.json index f4a4aff0..57af66d1 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -1442,14 +1442,14 @@ "fr": "1.1.74", "to": "" }, - "add": " .BKsbV2Xl786X9a09XROH{display:none}" + "add": " .BKsbV2Xl786X9a09XROH {display:none}" }, "submenudownload": { "version": { "fr": "1.1.74", "to": "" }, - "add": " button.wC9sIed7pfp47wZbmU6m.pzkhLqffqF_4hucrVVQA{display:none}" + "add": " .pzkhLqffqF_4hucrVVQA, .egE6UQjF_UUoCzvMxREj {display:none}" }, "veryhighstream": { "add": " #desktop\\.settings\\.streamingQuality>option:nth-child(5) {display:none}" diff --git a/run.ps1 b/run.ps1 index 2c0fb64b..558609f8 100644 --- a/run.ps1 +++ b/run.ps1 @@ -1104,11 +1104,11 @@ function Helper($paramname) { } } - if ([version]$offline -eq [version]'1.2.30.1135') { Move-Json -n 'QueueOnRightPanel' -t $Enable -f $Disable } + if ([version]$offline -eq [version]'1.2.30.1135') { Move-Json -n 'QueueOnRightPanel' -t $Enable -f $Disable } if (!($plus)) { Move-Json -n 'Plus' -t $Enable -f $Disable } - if (!($topsearchbar)){ + if (!($topsearchbar)) { Move-Json -n "GlobalNavBar" -t $Enable -f $Disable $Custom.GlobalNavBar.value = "control" } @@ -1568,7 +1568,9 @@ If ($test_spa) { # Hide submenu item "download" $css += $webjson.others.submenudownload.add # Hide very high quality streaming - $css += $webjson.others.veryhighstream.add + if ([version]$offline -le [version]"1.2.29.605") { + $css += $webjson.others.veryhighstream.add + } } # Full screen lyrics if ($lyrics_stat -and [version]$offline -ge [version]"1.2.3.1107") {