Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy
This commit is contained in:
commit
eb5fb0df29
|
@ -297,14 +297,13 @@ async function reporterRuntime(token: string) {
|
||||||
Vencord.Settings.eagerPatches = true;
|
Vencord.Settings.eagerPatches = true;
|
||||||
|
|
||||||
// The main patch for starting the reporter chunk loading
|
// The main patch for starting the reporter chunk loading
|
||||||
Vencord.Plugins.patches.push({
|
Vencord.Plugins.addPatch({
|
||||||
plugin: "Vencord Reporter",
|
|
||||||
find: '"Could not find app-mount"',
|
find: '"Could not find app-mount"',
|
||||||
replacement: [{
|
replacement: {
|
||||||
match: /(?<="use strict";)/,
|
match: /(?<="use strict";)/,
|
||||||
replace: "Vencord.Webpack._initReporter();"
|
replace: "Vencord.Webpack._initReporter();"
|
||||||
}]
|
}
|
||||||
});
|
}, "Vencord Reporter");
|
||||||
|
|
||||||
Vencord.Webpack.waitFor(
|
Vencord.Webpack.waitFor(
|
||||||
Vencord.Webpack.filters.byProps("loginToken"),
|
Vencord.Webpack.filters.byProps("loginToken"),
|
||||||
|
|
Loading…
Reference in a new issue