From renderer process cannot set global


#1

let securityWin = remote.getGlobal(‘SB’).securityWin

securityWin.custom = {

‘profileid’: ‘’

}

securityWin.custom.profileid = global.SB.profileid

also tried

remote.getGlobal(‘SB’).profileid

when i open the browserwindow.custom id is undefined