mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 14:55:50 +01:00
fix(tray): bring back dev icon
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user