From 9be9bad43150b576388051ed45197669e053f5a6 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(+) 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