diff --git a/src/node/index.js b/src/node/index.js index 76750a4..272085f 100644 --- a/src/node/index.js +++ b/src/node/index.js @@ -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)