noSystemBadge: fix (#1914)

This commit is contained in:
AutumnVN 2023-10-28 07:20:29 +07:00 committed by GitHub
parent b3311c6f12
commit 7f17e70697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,15 +25,15 @@ export default definePlugin({
authors: [Devs.rushii], authors: [Devs.rushii],
patches: [ patches: [
{ {
find: "setSystemTrayApplications:function", find: ",setSystemTrayApplications",
replacement: [ replacement: [
{ {
match: /setBadge:function.+?},/, match: /setBadge\(\i\).+?},/,
replace: "setBadge:function(){}," replace: "setBadge(){},"
}, },
{ {
match: /setSystemTrayIcon:function.+?},/, match: /setSystemTrayIcon\(\i\).+?},/,
replace: "setSystemTrayIcon:function(){}," replace: "setSystemTrayIcon(){},"
} }
] ]
} }