pagraphcontrol/index.js
2018-11-09 00:51:38 +03:00

14 lines
303 B
JavaScript

const { app, BrowserWindow } = require('electron');
const theme = require('./utils/theme');
app.on('ready', () => {
const win = new BrowserWindow({
backgroundColor: theme.colors.themeBaseColor,
});
win.setAutoHideMenuBar(true);
win.setMenuBarVisibility(false);
win.loadFile('index.html');
});