Fix windows titlebar on canary

This commit is contained in:
V
2023-08-12 04:01:10 +02:00
parent 4dceadbbd2
commit a5ec031a2f

View File

@@ -21,7 +21,7 @@ if (Settings.store.discordWindowsTitleBar)
replace: 'case "WEB":'
},
...["close", "minimize", "maximize"].map(op => ({
match: new RegExp(String.raw`\i\.default\.${op}\b`),
match: new RegExp(String.raw`\i\.\i\.${op}\b`),
replace: `VesktopNative.win.${op}`
}))
]