Skip to content

Commit

Permalink
updating css rules
Browse files Browse the repository at this point in the history
  • Loading branch information
amd64fox committed Feb 21, 2024
1 parent 9190341 commit 1662dbc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions patches/patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
8 changes: 5 additions & 3 deletions run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down Expand Up @@ -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") {
Expand Down

0 comments on commit 1662dbc

Please sign in to comment.