Skip to content

Commit

Permalink
Fix path to system tray icon of Khoj desktop app
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjum committed Dec 3, 2023
1 parent 106cdbe commit a57d529
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/interface/desktop/main.js
Expand Up @@ -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([
Expand Down

0 comments on commit a57d529

Please sign in to comment.