Merge branch 'main' of https://github.com/Covkie/Vesktop
This commit is contained in:
commit
3ff6e45ff9
1 changed files with 1 additions and 2 deletions
|
@ -26,8 +26,7 @@ export function setBadgeCount(count: number) {
|
|||
switch (process.platform) {
|
||||
case "linux":
|
||||
if (typeof count !== "number") { //sanitize
|
||||
console.log("what the hel- *kaboom*")
|
||||
break;
|
||||
throw new Error("count must be a number");
|
||||
}
|
||||
|
||||
execFile ("gdbus", [
|
||||
|
|
Loading…
Reference in a new issue