partial fix for badges being displayed
This commit is contained in:
parent
962e4b188b
commit
b9a3d37c9a
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import { BrowserWindow, Notification, app, shell } from "electron";
|
|||
import started from "electron-squirrel-startup";
|
||||
|
||||
import { autoLaunch } from "./native/autoLaunch";
|
||||
import { setBadgeCount } from "./native/badges";
|
||||
import { config } from "./native/config";
|
||||
import { initDiscordRpc } from "./native/discordRpc";
|
||||
import { initTray } from "./native/tray";
|
||||
|
|
@ -101,6 +102,7 @@ if (acquiredLock) {
|
|||
|
||||
initTray();
|
||||
initDiscordRpc();
|
||||
setBadgeCount(0);
|
||||
|
||||
if (process.platform === "win32") {
|
||||
app.setAppUserModelId("AviaClient");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue