Fix Crashing
Some checks are pending
Test / Test (push) Waiting to run
Release / Build Equicord (push) Waiting to run

This commit is contained in:
thororen1234 2025-06-04 22:09:30 -04:00
parent 5dd3d60cd7
commit 87d8bfb374
No known key found for this signature in database

View file

@ -38,11 +38,11 @@ export default definePlugin({
replacement: [ replacement: [
{ {
match: /async uploadFiles\((\i),\i\){/, match: /async uploadFiles\((\i),\i\){/,
replace: "$&$1.forEach($self.anonymise);" replace: "$&$1.forEach($self.fixExt);"
}, },
{ {
match: /async uploadFilesSimple\((\i)\){/, match: /async uploadFilesSimple\((\i)\){/,
replace: "$&$1.forEach($self.anonymise);" replace: "$&$1.forEach($self.fixExt);"
} }
], ],
predicate: () => !Settings.plugins.AnonymiseFileNames.enabled, predicate: () => !Settings.plugins.AnonymiseFileNames.enabled,