diff --git a/patches/patches.json b/patches/patches.json index 5b07050..327470b 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -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" } } } \ No newline at end of file diff --git a/run.ps1 b/run.ps1 index 6f0a856..a4e101e 100644 --- a/run.ps1 +++ b/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