mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 05:39:11 +00:00
Update first run message on Desktop app with API token setup instructions
- Open Web app settings in the default browser via link click - Open Desktop app settings via link click
This commit is contained in:
@@ -57,3 +57,8 @@ contextBridge.exposeInMainWorld('tokenAPI', {
|
||||
contextBridge.exposeInMainWorld('appInfoAPI', {
|
||||
getInfo: (callback) => ipcRenderer.on('appInfo', callback)
|
||||
})
|
||||
|
||||
contextBridge.exposeInMainWorld('navigateAPI', {
|
||||
navigateToSettings: () => ipcRenderer.send('navigate', 'config.html'),
|
||||
navigateToWebSettings: () => ipcRenderer.send('navigateToWebApp', 'config'),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user