fix reporter

This commit is contained in:
Vendicated 2023-10-25 21:06:18 +02:00
parent 148a32096c
commit 0c6445b66b
No known key found for this signature in database
GPG Key ID: D66986BAF75ECF18

View File

@ -268,7 +268,7 @@ function runTime(token: string) {
const { wreq } = Vencord.Webpack;
console.error("[PUP_DEBUG]", "Loading all chunks...");
const ids = Function("return" + wreq.u.toString().match(/\{.+\}/s)![0])();
const ids = Function("return" + wreq.u.toString().match(/(?<=\()\{.+?\}/s)![0])();
for (const id in ids) {
const isWasm = await fetch(wreq.p + wreq.u(id))
.then(r => r.text())