Skip to content

Commit

Permalink
experimental patches for 1.2.55 +
Browse files Browse the repository at this point in the history
- added experimental patches for 1.2.55+
  • Loading branch information
amd64fox committed Jan 18, 2025
1 parent 0658ccb commit e4206c5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
33 changes: 33 additions & 0 deletions patches/patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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 changes: 3 additions & 2 deletions run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e4206c5

Please sign in to comment.