gui: show onion address

This commit is contained in:
thePR0M3TH3AN
2025-06-21 14:36:29 -04:00
parent c8c720a5ff
commit e0eb7fbfd3
3 changed files with 22 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
const { contextBridge, ipcRenderer } = require('electron');
contextBridge.exposeInMainWorld('voxvera', {
quickstart: () => ipcRenderer.invoke('run-quickstart')
quickstart: () => ipcRenderer.invoke('run-quickstart'),
onOnionUrl: (cb) => ipcRenderer.on('onion-url', (_, url) => cb(url))
});