fix(tray): bring back dev icon

This commit is contained in:
Elian Doran
2025-02-01 12:45:32 +02:00
parent 0f2e50d265
commit c80bf48d13
6 changed files with 3 additions and 2 deletions

View File

@@ -33,9 +33,9 @@ function getIconSize() {
function getTrayIconPath() {
const iconSize = getIconSize();
const suffix = isDev ? "-dev" : "";
const name = isDev ? "icon-purple" : "icon-color";
return path.join(path.dirname(fileURLToPath(import.meta.url)), "../..", "images", "app-icons", "tray", `icon-color.png`);
return path.join(path.dirname(fileURLToPath(import.meta.url)), "../..", "images", "app-icons", "tray", `${name}.png`);
}
function getIconPath(name: string) {