Fix ConsoleJan

This commit is contained in:
thororen1234 2025-04-03 17:03:27 -04:00
parent e1e49248fe
commit 75f56263ed
No known key found for this signature in database

View file

@ -148,15 +148,15 @@ export default definePlugin({
{ {
find: "is not a valid locale.", find: "is not a valid locale.",
replacement: { replacement: {
match: /\i\.error\(""\.concat\(\i," is not a valid locale."\)\)/, match: /\i\.error(?=\(""\.concat\(\i," is not a valid locale."\)\))/,
replace: '""' replace: "$self.NoopLogger"
} }
}, },
{ {
find: '"AppCrashedFatalReport: getLastCrash not supported."', find: '"AppCrashedFatalReport: getLastCrash not supported."',
replacement: { replacement: {
match: /console\.log\("AppCrashedFatalReport: getLastCrash not supported\."\)/, match: /console\.log(?=\("AppCrashedFatalReport: getLastCrash not supported\."\))/,
replace: '""' replace: "$self.NoopLogger"
} }
}, },
{ {