Fix path to system tray icon of Khoj desktop app

This commit is contained in:
Debanjum Singh Solanky 2023-12-02 23:52:01 -08:00
parent 106cdbe455
commit a57d529f39

View file

@ -516,7 +516,8 @@ openWindow = (page) => {
}
app.whenReady().then(() => {
const icon = nativeImage.createFromPath('assets/icons/favicon-20x20.png')
const iconPath = path.join(__dirname, './assets/icons/favicon-20x20.png')
const icon = nativeImage.createFromPath(iconPath)
tray = new Tray(icon)
const contextMenu = Menu.buildFromTemplate([