mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-24 22:22:50 -05:00
Wait for main window to load
This commit is contained in:
@@ -23,7 +23,7 @@ async function main() {
|
||||
nodeIntegration: true,
|
||||
},
|
||||
})
|
||||
mainWin.loadFile('control.html')
|
||||
await mainWin.loadFile('control.html')
|
||||
mainWin.webContents.on('will-navigate', (ev, url) => {
|
||||
ev.preventDefault()
|
||||
shell.openExternal(url)
|
||||
|
||||
Reference in New Issue
Block a user