Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
fix(desktop): open external links in system browser
Naiyuan Qing54e2ac4a1773
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex bdf7168c4b..ea0acb6dfd 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -44,7 +44,7 @@ process.stderr?.on?.('error', (err: NodeJS.ErrnoException) => {throw err})-import { app, BrowserWindow } from 'electron'+import { app, BrowserWindow, shell } from 'electron'import { fileURLToPath } from 'node:url'import path from 'node:path'import { registerAllIpcHandlers, initializeApp, cleanupAll, setupDeviceConfirmation } from './ipc/index.js'@@ -73,6 +73,12 @@ function createWindow() {},})+ // Open external links in system browser instead of inside Electron+ win.webContents.setWindowOpenHandler(({ url }) => {+ shell.openExternal(url)+ return { action: 'deny' }+ })+if (VITE_DEV_SERVER_URL) {win.loadURL(VITE_DEV_SERVER_URL)} else {