diff --git a/assets/ac_plug.png b/assets/ac_white_plug_filled.png similarity index 100% rename from assets/ac_plug.png rename to assets/ac_white_plug_filled.png diff --git a/src/tray.ts b/src/tray.ts index 3e36c9c..aafd99d 100644 --- a/src/tray.ts +++ b/src/tray.ts @@ -25,7 +25,8 @@ app.whenReady().then(async () => { tray.setToolTip("Discord"); tray.setContextMenu(contextMenu); } else { - tray = new Tray(path.join(__dirname, "../", "/assets/ac_plug.png")); + var trayIcon = await getConfig("trayIcon") ?? "ac_plug_colored"; + tray = new Tray(path.join(__dirname, "../", `/assets/${trayIcon}.png`)); const contextMenu = Menu.buildFromTemplate([ { label: "ArmCord"