mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Fix path to system tray icon of Khoj desktop app
This commit is contained in:
parent
106cdbe455
commit
a57d529f39
1 changed files with 2 additions and 1 deletions
|
@ -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([
|
||||
|
|
Loading…
Add table
Reference in a new issue