small nitpicks and basic changes

This commit is contained in:
wearrrrr 2023-10-22 17:09:23 -05:00
parent 4b8f374856
commit 23b4c74411
4 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ {
"name": "VencordDesktop", "name": "vencord-desktop",
"version": "0.4.0", "version": "0.4.0",
"private": true, "private": true,
"description": "", "description": "",

View file

@ -24,7 +24,8 @@ let lastIndex: null | number = -1;
export function setBadgeCount(count: number) { export function setBadgeCount(count: number) {
switch (process.platform) { switch (process.platform) {
case "linux": case "linux":
if (count === -1) count = 0; // used to be if (count === -1)
if (count < 0) count = 0;
app.setBadgeCount(count); app.setBadgeCount(count);
break; break;
case "darwin": case "darwin":

BIN
static/shiggy.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -32,7 +32,7 @@
<div class="wrapper"> <div class="wrapper">
<img <img
draggable="false" draggable="false"
src="https://cdn.discordapp.com/emojis/1024751291504791654.gif?size=512" src="../shiggy.gif"
alt="shiggy" alt="shiggy"
role="presentation" role="presentation"
/> />