noSystemBadge: fix (#1914)
This commit is contained in:
parent
b3311c6f12
commit
7f17e70697
1 changed files with 5 additions and 5 deletions
|
@ -25,15 +25,15 @@ export default definePlugin({
|
|||
authors: [Devs.rushii],
|
||||
patches: [
|
||||
{
|
||||
find: "setSystemTrayApplications:function",
|
||||
find: ",setSystemTrayApplications",
|
||||
replacement: [
|
||||
{
|
||||
match: /setBadge:function.+?},/,
|
||||
replace: "setBadge:function(){},"
|
||||
match: /setBadge\(\i\).+?},/,
|
||||
replace: "setBadge(){},"
|
||||
},
|
||||
{
|
||||
match: /setSystemTrayIcon:function.+?},/,
|
||||
replace: "setSystemTrayIcon:function(){},"
|
||||
match: /setSystemTrayIcon\(\i\).+?},/,
|
||||
replace: "setSystemTrayIcon(){},"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue