Tests

Tests
This commit is contained in:
thororen1234 2025-04-03 16:11:36 -04:00
parent c8b5337d18
commit d1d8ca5791
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View file

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

View file

@ -49,7 +49,7 @@ export default definePlugin({
replace: "$self.handleOnline()"
},
{
match: /(setInterval\(\i,30\*)\i\.\i/,
match: /(setInterval\(\i,\.25\*)\i\.\i/,
replace: "$1$self.getIntervalDelay()" // For web installs
}
]