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({
} }
] ]
}, },
{ // TEMP Work until Vencord Fix
find: ".installedLogHooks)", ...[
".DEBUG_LOGGING)",
".inputDeviceId)||"
].map(find => ({
find,
replacement: { replacement: {
// if getDebugLogging() returns false, the hooks don't get installed.
match: "getDebugLogging(){", match: "getDebugLogging(){",
replace: "getDebugLogging(){return false;" replace: "getDebugLogging(){return false;"
} }
}, })),
], ],
startAt: StartAt.Init, startAt: StartAt.Init,

View file

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