noDevToolsWarning: fix (#1851)

main
AutumnVN 1 year ago committed by V
parent 940193c30b
commit baa7d8c078

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

Loading…
Cancel
Save