server/launcher: app address / qr code not updating when network changes
This commit is contained in:
parent
33d0b54dad
commit
0e1ef27eb5
3 changed files with 8 additions and 4 deletions
|
|
@ -92,7 +92,7 @@ function showQRCode(){
|
|||
for (var add of addresses) {
|
||||
if (launcher) {
|
||||
QRCode.toString(add,{type:'svg', small: true, margin: 1}, (err, qr)=>{
|
||||
launcher.webContents.send('stdout', '<div class="qrcode">' + qr + '</div>')
|
||||
launcher.webContents.send('stdout', '<div class="qrcode" title="' + add + '">' + qr + '</div>')
|
||||
})
|
||||
if (addresses.length > 1) {
|
||||
launcher.webContents.send('stdout', '(' + add + ')')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue