From edf8fda03dc538e3aabc107645b4d5c0bd128170 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Thu, 22 Dec 2022 01:03:12 -0500 Subject: Update patcher to disable qr login --- scripts/client.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts') diff --git a/scripts/client.js b/scripts/client.js index f53e7634..cbbbcb6f 100644 --- a/scripts/client.js +++ b/scripts/client.js @@ -135,6 +135,9 @@ const doPatch = (content) => { "e.isFastConnect=t; if (t !== undefined) e._doResumeOrIdentify();" ); + // disable qr code login + content = content.replaceAll(/\w\?\(\d,\w\.jsx\)\(\w*\,{authTokenCallback:this\.handleAuthToken}\):null/g, "null"); + return content; }; -- cgit 1.4.1