Fix windows titlebar on canary

This commit is contained in:
V 2023-08-12 04:01:10 +02:00
parent 4dceadbbd2
commit a5ec031a2f
No known key found for this signature in database
GPG key ID: A1DC0CFB5615D905

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}`
}))
]