Fix settings patch

This commit is contained in:
Vendicated
2022-09-15 18:03:48 +02:00
parent 5b2b91ed0d
commit b1d3f5e52f
2 changed files with 6 additions and 7 deletions

View File

@ -16,7 +16,7 @@ export default definePlugin({
}
},
{
match: /\w\.createElement.+?["']Host ["'].+?\):null/,
match: /\w\.createElement.+?["']Host ["'].+?\):null/s,
replace: m => {
const idx = m.indexOf("Host") - 1;
const template = m.slice(0, idx);