INNER CODE UNIT · JavaScript

initMainWindow

Soundnode/soundnode-app · main.js:84

function initMainWindow() {
  let mainWindowState = windowStateKeeper({
    defaultWidth: 1180,
    defaultHeight: 755
  });

  mainWindow = new BrowserWindow({
    x: mainWindowState.x,
    y: mainWindowState.y,
    width: mainWindowState.width,
    height: mainWindowState.height,
    minWidth: 800,
    minHeight: 640,
    center: true,
    frame: false,
    webPreferences: {
      nodeIntegration: true
    }

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…