const win = new BrowserWindow({ webPreferences: { nodeIntegration: true } }); shell.openExternal(url);