mirror of
https://github.com/PR0M3TH3AN/VoxVera.git
synced 2025-09-09 15:38:43 +00:00
gui: show onion address
This commit is contained in:
@@ -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))
|
||||
});
|
||||
|
Reference in New Issue
Block a user