Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fabdelgado/77082aab4ba2066fe8dfd569c98142ce to your computer and use it in GitHub Desktop.
Save fabdelgado/77082aab4ba2066fe8dfd569c98142ce to your computer and use it in GitHub Desktop.
mainWindow = new BrowserWindow({
x: mainWindowState.x,
y: mainWindowState.y,
width: (kiosk) ? mainWindowState.width : 298,
height:(kiosk) ? mainWindowState.height: 192,
frame: false,
icon: iconPath_32,
resizable: false,
kiosk: kiosk,
disableAutoHideCursor: false,
autoHideMenuBar: true,
title: 'Tilo'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment