Updated README.md

This commit is contained in:
KayoticCarnige 2022-05-22 12:14:54 -04:00
parent b025948d90
commit 31c5a88e94
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ app.whenReady().then(async () => {
tray.setToolTip("Discord");
tray.setContextMenu(contextMenu);
} else {
var trayIcon = await getConfig("trayIcon") ?? "ac_plug_colored";
var trayIcon = (await getConfig("trayIcon")) ?? "ac_plug_colored";
tray = new Tray(path.join(__dirname, "../", `/assets/${trayIcon}.png`));
const contextMenu = Menu.buildFromTemplate([
{