mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
parent
ae730e8398
commit
5625d63e46
22 changed files with 945 additions and 192 deletions
|
@ -100,6 +100,7 @@ function patchPush() {
|
|||
|
||||
for (let i = 0; i < patches.length; i++) {
|
||||
const patch = patches[i];
|
||||
if (patch.predicate && !patch.predicate()) continue;
|
||||
if (code.includes(patch.find)) {
|
||||
patchedBy.add(patch.plugin);
|
||||
// @ts-ignore we change all patch.replacement to array in plugins/index
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue