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

View file

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