Reapply "Fix Canary Patches"

This reverts commit b075f7b6a4.
This commit is contained in:
thororen1234 2025-04-03 16:11:06 -04:00
parent b075f7b6a4
commit c8b5337d18
No known key found for this signature in database
13 changed files with 16 additions and 16 deletions

View file

@ -148,14 +148,14 @@ export default definePlugin({
{
find: "is not a valid locale.",
replacement: {
match: /\i\.error\(""\.concat\(\i," is not a valid locale."\)\);/,
match: /void \i\.error\(""\.concat\(\i," is not a valid locale."\)\)/,
replace: ""
}
},
{
find: '"AppCrashedFatalReport: getLastCrash not supported."',
replacement: {
match: /console\.log\("AppCrashedFatalReport: getLastCrash not supported\."\);/,
match: /void console\.log\("AppCrashedFatalReport: getLastCrash not supported\."\)/,
replace: ""
}
},