diff --git a/patches/patches.json b/patches/patches.json index b757812..685c5fa 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -1944,11 +1944,20 @@ "block_gabo": { "version": { "fr": "1.1.59", - "to": "" + "to": "1.2.73" }, "add": "dodo(?=.receiver-service)", "match": "gabo(?=.receiver-service)", "replace": "dodo" + }, + "block_gabo2": { + "version": { + "fr": "1.2.74", + "to": "" + }, + "add": "dodo(?=.receiver-service(?:/public|[^/]))", + "match": "gabo(?=.receiver-service(?:/public|[^/]))", + "replace": "dodo" } }, "themelyrics": { diff --git a/run.ps1 b/run.ps1 index a2849d5..a83cff0 100644 --- a/run.ps1 +++ b/run.ps1 @@ -2294,7 +2294,10 @@ $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 +$regex5 = $old -notmatch $( + if ([version]$offline -gt [version]'1.2.73.474') { $webjson.others.binary.block_gabo2.add } + else { $webjson.others.binary.block_gabo.add } +) if ($regex1 -and $regex2 -and $regex3 -and $regex4 -and $regex5) {