Commit 49210c3c authored by Anusha Mamidala's avatar Anusha Mamidala
Browse files

Added window maximize on load

parent f02e7c69
......@@ -12,13 +12,12 @@ const createWindow = () => {
setTimeout(() => {
// Create the browser window.
win = new BrowserWindow({
width: 800,
height: 600,
icon: './src/favicon.ico',
webPreferences: {
nodeIntegration: false // turn it on to use node features
}
});
win.maximize();
// and load the app.
win.loadURL(url.format({
......
......@@ -9,10 +9,9 @@ let win;
const createWindow = () => {
// Create the browser window.
win = new BrowserWindow({
width: 800,
height: 600,
icon: path.join(__dirname, 'favicon.ico'),
});
win.maximize();
// and load the index.html of the app.
win.loadURL(url.format({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment