Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy
This commit is contained in:
commit
c34f40e30d
|
@ -31,7 +31,7 @@ async function runReporter() {
|
|||
}, "Vencord Reporter");
|
||||
|
||||
// @ts-ignore
|
||||
Webpack._initReporter = function () {
|
||||
Vencord.Webpack._initReporter = function () {
|
||||
// initReporter is called in the patched entry point of Discord
|
||||
// setImmediate to only start searching for lazy chunks after Discord initialized the app
|
||||
setTimeout(() => {
|
||||
|
@ -294,4 +294,5 @@ async function runReporter() {
|
|||
}
|
||||
}
|
||||
|
||||
runReporter();
|
||||
// Run after the Vencord object has been created
|
||||
setTimeout(runReporter, 0);
|
||||
|
|
Loading…
Reference in a new issue