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,

View file

@ -187,7 +187,7 @@ export const ExpressionPickerStore: t.ExpressionPickerStore = mapMangledModuleLa
toggleExpressionPicker: filters.byCode(/getState\(\)\.activeView===\i\?\i\(\):\i\(/),
setExpressionPickerView: filters.byCode(/setState\({activeView:\i,lastActiveView:/),
setSearchQuery: filters.byCode("searchQuery:"),
useExpressionPickerStore: filters.byCode(".getInitialState")
useExpressionPickerStore: filters.byCode("Object.is")
});
export const PopoutActions: t.PopoutActions = mapMangledModuleLazy('type:"POPOUT_WINDOW_OPEN"', {