mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Fix path to system tray icon of Khoj desktop app
This commit is contained in:
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user