add webremote url in modal
This commit is contained in:
parent
82f049dcd2
commit
2db8c535a0
4 changed files with 11 additions and 4 deletions
|
@ -426,10 +426,15 @@ export class Win {
|
|||
//QR Code
|
||||
electron.ipcMain.handle('setRemoteQR', async (event , _) => {
|
||||
let url = await qrcode2.toDataURL(`http://${getIp()}:${this.remotePort}`)
|
||||
console.log(url)
|
||||
return url;
|
||||
})
|
||||
|
||||
//Remote URL
|
||||
electron.ipcMain.handle('setRemoteURL', async (event , _) => {
|
||||
let url = `http://${getIp()}:${this.remotePort}`
|
||||
return await url;
|
||||
})
|
||||
|
||||
/* *********************************************************************************************
|
||||
* Window Events
|
||||
* **********************************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue