Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy

This commit is contained in:
Nuckyz 2024-05-30 05:16:41 -03:00
commit eb5fb0df29
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -297,14 +297,13 @@ async function reporterRuntime(token: string) {
Vencord.Settings.eagerPatches = true;
// The main patch for starting the reporter chunk loading
Vencord.Plugins.patches.push({
plugin: "Vencord Reporter",
Vencord.Plugins.addPatch({
find: '"Could not find app-mount"',
replacement: [{
replacement: {
match: /(?<="use strict";)/,
replace: "Vencord.Webpack._initReporter();"
}]
});
}
}, "Vencord Reporter");
Vencord.Webpack.waitFor(
Vencord.Webpack.filters.byProps("loginToken"),