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) {
|
switch (process.platform) {
|
||||||
case "linux":
|
case "linux":
|
||||||
if (typeof count !== "number") { //sanitize
|
if (typeof count !== "number") { //sanitize
|
||||||
console.log("what the hel- *kaboom*")
|
throw new Error("count must be a number");
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
execFile ("gdbus", [
|
execFile ("gdbus", [
|
||||||
|
|
Loading…
Reference in a new issue