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.",
replacement: {
match: /\i\.error\(""\.concat\(\i," is not a valid locale."\)\)/,
replace: '""'
match: /\i\.error(?=\(""\.concat\(\i," is not a valid locale."\)\))/,
replace: "$self.NoopLogger"
}
},
{
find: '"AppCrashedFatalReport: getLastCrash not supported."',
replacement: {
match: /console\.log\("AppCrashedFatalReport: getLastCrash not supported\."\)/,
replace: '""'
match: /console\.log(?=\("AppCrashedFatalReport: getLastCrash not supported\."\))/,
replace: "$self.NoopLogger"
}
},
{