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:
Debanjum Singh Solanky
2023-11-15 22:33:50 -08:00
parent 922983bd53
commit 6c1693b8f4
3 changed files with 22 additions and 1 deletions

View File

@@ -396,6 +396,14 @@ app.whenReady().then(() => {
event.reply('update-state', arg);
});
ipcMain.on('navigate', (event, page) => {
win.loadFile(page);
});
ipcMain.on('navigateToWebApp', (event, page) => {
shell.openExternal(`${store.get('hostURL')}/${page}`);
});
ipcMain.handle('getFiles', getFiles);
ipcMain.handle('getFolders', getFolders);