mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-04-24 03:50:18 +10:00
experimental patches for 1.2.55 +
- added experimental patches for 1.2.55+
This commit is contained in:
@@ -1473,6 +1473,15 @@
|
||||
"match": "slots(?=.{3,8}override_url)",
|
||||
"replace": "slot}"
|
||||
},
|
||||
"block_slots_2": {
|
||||
"version": {
|
||||
"fr": "1.2.55",
|
||||
"to": ""
|
||||
},
|
||||
"add": "slot}(?=.{25,35}state)",
|
||||
"match": "slots(?=.{25,35}state)",
|
||||
"replace": "slot}"
|
||||
},
|
||||
"block_gabo": {
|
||||
"version": {
|
||||
"fr": "1.1.59",
|
||||
@@ -2005,6 +2014,30 @@
|
||||
},
|
||||
"match": "(\"update_titlebar\",height:).",
|
||||
"replace": "$1'40'"
|
||||
},
|
||||
"mock": {
|
||||
"version": {
|
||||
"fr": "1.2.55",
|
||||
"to": ""
|
||||
},
|
||||
"match": "\/(?:leavebehinds\/mock|leavebehinds|mock)\/",
|
||||
"replace": "/localhost/"
|
||||
},
|
||||
"upgradeButton": {
|
||||
"version": {
|
||||
"fr": "1.2.55",
|
||||
"to": ""
|
||||
},
|
||||
"match": "\"\\(min-width: 1024px\\)\"",
|
||||
"replace": "\"(min-width: 9999990px)\""
|
||||
},
|
||||
"upgradeMenu": {
|
||||
"version": {
|
||||
"fr": "1.2.55",
|
||||
"to": ""
|
||||
},
|
||||
"match": "=>\\{((?:(?!=>\\{).)*?(?=\"loggedin_upgrade_menu))",
|
||||
"replace": "=>\\{ return null; $1"
|
||||
}
|
||||
}
|
||||
}
|
||||
5
run.ps1
5
run.ps1
@@ -1821,9 +1821,10 @@ $old = [IO.File]::ReadAllText($spotifyExecutable, $ANSI)
|
||||
|
||||
$rexex1 = $old -notmatch $webjson.others.binary.block_update.add
|
||||
$rexex2 = $old -notmatch $webjson.others.binary.block_slots.add
|
||||
$rexex3 = $old -notmatch $webjson.others.binary.block_gabo.add
|
||||
$rexex3 = $old -notmatch $webjson.others.binary.block_slots_2.add
|
||||
$rexex4 = $old -notmatch $webjson.others.binary.block_gabo.add
|
||||
|
||||
if ($rexex1 -and $rexex2 -and $rexex3) {
|
||||
if ($rexex1 -and $rexex2 -and $rexex3 -and $rexex4) {
|
||||
|
||||
if (Test-Path -LiteralPath $exe_bak) {
|
||||
Remove-Item $exe_bak -Recurse -Force
|
||||
|
||||
Reference in New Issue
Block a user