1
0
Fork 1
mirror of https://github.com/Vendicated/Vencord.git synced 2025-01-25 16:56:23 +00:00

noDevToolsWarning: fix (#1851)

This commit is contained in:
AutumnVN 2023-10-25 19:48:05 +07:00 committed by Luna
parent 1bd5c2477b
commit 8b46f94a6b

View file

@ -26,8 +26,8 @@ export default definePlugin({
patches: [{
find: "setDevtoolsCallbacks",
replacement: {
match: /if\(.{0,10}\|\|"0.0.0"!==.{0,2}\.remoteApp\.getVersion\(\)\)/,
replace: "if(false)"
match: /if\(null!=\i&&"0.0.0"===\i\.remoteApp\.getVersion\(\)\)/,
replace: "if(true)"
}
}]
});