MCPcopy Create free account
hub / github.com/SoHeil-R/google-traffic-bot / createWindow

Function createWindow

index.js:6–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4const { app, BrowserWindow, ipcMain } = require('electron')
5
6async function createWindow() {
7 const win = new BrowserWindow({
8 width: 400,
9 height: 600,
10 autoHideMenuBar: true,
11 webPreferences: {
12 preload: path.join(__dirname, 'preload.js')
13 }
14 })
15 win.loadFile('index.html')
16}
17
18ipcMain.handle('start', async (event, url, keyboard, count, option) => {
19 seobot.main(url, keyboard, count, option)

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected