mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-23 03:20:20 +10:00
fix navbar height 1.2.45+
This commit is contained in:
@@ -1941,6 +1941,14 @@
|
|||||||
},
|
},
|
||||||
"match": "(?:\\(?await )?.\\.build.{20,60}encodeURIComponent.{20,140}\"\\/track\\/{trackId}.+?send\\(\\)(?:\\)\\.body)?",
|
"match": "(?:\\(?await )?.\\.build.{20,60}encodeURIComponent.{20,140}\"\\/track\\/{trackId}.+?send\\(\\)(?:\\)\\.body)?",
|
||||||
"replace": "{}"
|
"replace": "{}"
|
||||||
|
},
|
||||||
|
"fixTitlebarHeight": {
|
||||||
|
"version": {
|
||||||
|
"fr": "1.2.45",
|
||||||
|
"to": ""
|
||||||
|
},
|
||||||
|
"match": "(\"update_titlebar\",height:).",
|
||||||
|
"replace": "$140"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
7
run.ps1
7
run.ps1
@@ -1162,7 +1162,7 @@ function Helper($paramname) {
|
|||||||
|
|
||||||
if (!($plus)) { Move-Json -n "Plus", "AlignedCurationSavedIn" -t $Enable -f $Disable }
|
if (!($plus)) { Move-Json -n "Plus", "AlignedCurationSavedIn" -t $Enable -f $Disable }
|
||||||
|
|
||||||
if (!($topsearchbar) -and [version]$offline -le [version]"1.2.44.405") {
|
if (!($topsearchbar)) {
|
||||||
Move-Json -n "GlobalNavBar", "RecentSearchesDropdown" -t $Enable -f $Disable
|
Move-Json -n "GlobalNavBar", "RecentSearchesDropdown" -t $Enable -f $Disable
|
||||||
$Custom.GlobalNavBar.value = "control"
|
$Custom.GlobalNavBar.value = "control"
|
||||||
}
|
}
|
||||||
@@ -1316,6 +1316,11 @@ function Helper($paramname) {
|
|||||||
|
|
||||||
$VarJs = $webjson.VariousJs
|
$VarJs = $webjson.VariousJs
|
||||||
|
|
||||||
|
|
||||||
|
if ($topsearchbar) {
|
||||||
|
Remove-Json -j $VarJs -p "fixTitlebarHeight"
|
||||||
|
}
|
||||||
|
|
||||||
if (!($lyrics_block)) { Remove-Json -j $VarJs -p "lyrics-block" }
|
if (!($lyrics_block)) { Remove-Json -j $VarJs -p "lyrics-block" }
|
||||||
|
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user