blob: 25f873b6227a01fc177b0e5dfa534c326d71c9e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import { Devs } from "../utils/constants";
import definePlugin from "../utils/types";
export default definePlugin({
name: "NoSystemBadge",
description: "Disables the taskbar and system tray unread count badge.",
authors: [Devs.rushii],
patches: [
{
find: "setSystemTrayApplications:function",
replacement: [
{
match: /setBadge:function.+?},/,
replace: "setBadge:function(){},"
},
{
match: /setSystemTrayIcon:function.+?},/,
replace: "setSystemTrayIcon:function(){},"
}
]
}
]
});
|