mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-13 20:28:25 +10:00
added searchFixes patch #2
This commit is contained in:
18
run.ps1
18
run.ps1
@@ -1078,6 +1078,12 @@ function Helper($paramname) {
|
||||
$n = "xpui.css"
|
||||
$json = $webjson.others
|
||||
}
|
||||
"Fixjs" {
|
||||
$n = $name
|
||||
$contents = "searchFixes"
|
||||
$name = "patches.json.others."
|
||||
$json = $webjson.others
|
||||
}
|
||||
"Cssmin" {
|
||||
# Minification of all *.css
|
||||
$contents = "cssmin"
|
||||
@@ -1760,7 +1766,17 @@ If ($test_spa) {
|
||||
injection -p $xpui_spa_patch -f "spotx-helper/lyrics-color" -n @("rules.css", "colors.css") -c @($rulesContent, $colorsContent) -i "rules.css"
|
||||
|
||||
}
|
||||
extract -counts 'one' -method 'zip' -name 'xpui.js' -helper 'VariousofXpui-js'
|
||||
extract -counts 'one' -method 'zip' -name 'xpui.js' -helper 'VariousofXpui-js'
|
||||
|
||||
if ([version]$offline -ge [version]"1.2.28.581" -and [version]$offline -le [version]"1.2.57.463") {
|
||||
|
||||
if ([version]$offline -ge [version]"1.2.45.454") { $typefile = "xpui.js"}
|
||||
|
||||
else { $typefile = "xpui-routes-search.js" }
|
||||
|
||||
extract -counts 'one' -method 'zip' -name $typefile -helper "Fixjs"
|
||||
}
|
||||
|
||||
|
||||
if ($devtools -and [version]$offline -ge [version]"1.2.35.663") {
|
||||
extract -counts 'one' -method 'zip' -name 'xpui-routes-desktop-settings.js' -helper 'Dev'
|
||||
|
||||
Reference in New Issue
Block a user