This commit is contained in:
thororen1234 2024-11-08 01:17:52 -05:00
parent fc05bccb08
commit 54fdcc72dd
2 changed files with 8 additions and 5 deletions

View file

@ -60,14 +60,17 @@ export default definePlugin({
}
]
},
{
find: ".installedLogHooks)",
// TEMP Work until Vencord Fix
...[
".DEBUG_LOGGING)",
".inputDeviceId)||"
].map(find => ({
find,
replacement: {
// if getDebugLogging() returns false, the hooks don't get installed.
match: "getDebugLogging(){",
replace: "getDebugLogging(){return false;"
}
},
})),
],
startAt: StartAt.Init,