From 630a331b7227090bc5d965896a44ebbfb42e0a11 Mon Sep 17 00:00:00 2001 From: amd64fox <62529699+amd64fox@users.noreply.github.com> Date: Mon, 20 Jan 2025 02:06:23 +0300 Subject: [PATCH] block billboard slot --- patches/patches.json | 9 +++++++++ run.ps1 | 11 ++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/patches/patches.json b/patches/patches.json index c25df67..c6fc7fc 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -1500,6 +1500,15 @@ "match": "slots(?=.{25,35}state)", "replace": "slot}" }, + "block_slots_3": { + "version": { + "fr": "1.2.55", + "to": "" + }, + "add": "}(?=payload=)", + "match": "\\?(?=payload=)", + "replace": "}" + }, "block_gabo": { "version": { "fr": "1.1.59", diff --git a/run.ps1 b/run.ps1 index a4e101e..9f08a2d 100644 --- a/run.ps1 +++ b/run.ps1 @@ -1819,12 +1819,13 @@ If (!(Test-Path $start_menu)) { $ANSI = [Text.Encoding]::GetEncoding(1251) $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_slots_2.add -$rexex4 = $old -notmatch $webjson.others.binary.block_gabo.add +$regex1 = $old -notmatch $webjson.others.binary.block_update.add +$regex2 = $old -notmatch $webjson.others.binary.block_slots.add +$regex3 = $old -notmatch $webjson.others.binary.block_slots_2.add +$regex4 = $old -notmatch $webjson.others.binary.block_slots_3.add +$regex5 = $old -notmatch $webjson.others.binary.block_gabo.add -if ($rexex1 -and $rexex2 -and $rexex3 -and $rexex4) { +if ($regex1 -and $regex2 -and $regex3 -and $regex4 -and $regex5) { if (Test-Path -LiteralPath $exe_bak) { Remove-Item $exe_bak -Recurse -Force