experimental patches for 1.2.55 +

- added experimental patches for 1.2.55+
This commit is contained in:
amd64fox
2025-01-18 23:18:21 +03:00
parent 0658ccba4d
commit e4206c55ba
2 changed files with 36 additions and 2 deletions

View File

@@ -1473,6 +1473,15 @@
"match": "slots(?=.{3,8}override_url)", "match": "slots(?=.{3,8}override_url)",
"replace": "slot}" "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": { "block_gabo": {
"version": { "version": {
"fr": "1.1.59", "fr": "1.1.59",
@@ -2005,6 +2014,30 @@
}, },
"match": "(\"update_titlebar\",height:).", "match": "(\"update_titlebar\",height:).",
"replace": "$1'40'" "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"
} }
} }
} }

View File

@@ -1821,9 +1821,10 @@ $old = [IO.File]::ReadAllText($spotifyExecutable, $ANSI)
$rexex1 = $old -notmatch $webjson.others.binary.block_update.add $rexex1 = $old -notmatch $webjson.others.binary.block_update.add
$rexex2 = $old -notmatch $webjson.others.binary.block_slots.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) { if (Test-Path -LiteralPath $exe_bak) {
Remove-Item $exe_bak -Recurse -Force Remove-Item $exe_bak -Recurse -Force