noDevToolsWarning: fix (#1851)

This commit is contained in:
AutumnVN 2023-10-25 19:48:05 +07:00 committed by V
parent 940193c30b
commit baa7d8c078

@ -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)"
}
}]
});