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:
@@ -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),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user