MoreUserTags: make patch apply to all loaded intl modules

Co-Authored-By: sadan4 <117494111+sadan4@users.noreply.github.com>
This commit is contained in:
thororen1234 2026-04-01 07:23:00 -04:00
parent 0e59e55582
commit f9f07b21a8
No known key found for this signature in database

View file

@ -57,6 +57,9 @@ export default definePlugin({
},
{
find: '"#{intl::APP_TAG::hash}":',
// This matches the intl bundle, english is always loaded as a fallback bundle
// if the users language is not english, we need to apply to both because the load order is random
all: true,
predicate: () => settings.store.noAppsAllowed,
replacement: {
match: /(#{intl::APP_TAG::hash}":\[").*?("\])/,