fix: open project action links in browser

Project action URLs now open in the system browser from Electron
Adds a safe Electron shell bridge for external HTTP links
This commit is contained in:
Bohdan Triapitsyn
2026-04-27 14:24:20 +03:00
parent 6470d9d205
commit 54a09914ac
2 changed files with 16 additions and 0 deletions
+3
View File
@@ -137,6 +137,9 @@ contextBridge.exposeInMainWorld('__TAURI__', {
dialog: {
open: (options) => ipcRenderer.invoke('openchamber:dialog:open', options || {}),
},
shell: {
open: (url) => ipcRenderer.invoke('openchamber:invoke', 'desktop_open_external_url', { url }),
},
event: {
listen: async (event, handler) => addListener(event, handler),
},