noSystemBadge: fix (#1914)
This commit is contained in:
parent
b3311c6f12
commit
7f17e70697
|
@ -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(){},"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue