chore: try to get everything building

This commit is contained in:
izzy
2025-10-08 17:28:30 +01:00
parent 9f705147b6
commit 2cc6ac4667
8 changed files with 71 additions and 32 deletions
+2 -5
View File
@@ -1,7 +1,6 @@
import { resolve } from "node:path";
import { Menu, Tray, nativeImage } from "electron";
import trayIconAsset from "../../assets/desktop/icon.png?asset";
import { version } from "../../package.json";
import { mainWindow, quitApp } from "./window";
@@ -10,9 +9,7 @@ import { mainWindow, quitApp } from "./window";
let tray: Tray = null;
// load the tray icon
const trayIcon = nativeImage.createFromPath(
resolve(process.resourcesPath, "icon.png"),
);
const trayIcon = nativeImage.createFromDataURL(trayIconAsset);
// trayIcon.setTemplateImage(true);