At the default window size, Riot starts with the left bar folded
down which is not ideal as a default.
This commit is contained in:
David Baker 2016-10-19 17:48:41 +01:00
parent eef629137e
commit da30338aa7

View file

@ -6,6 +6,7 @@ let window = null;
app.on('ready', () => { app.on('ready', () => {
window = new BrowserWindow({ window = new BrowserWindow({
icon: `${__dirname}/../../vector/img/logo.png`, icon: `${__dirname}/../../vector/img/logo.png`,
width: 1024, height: 768,
}); });
window.loadURL(`file://${__dirname}/../../vector/index.html`); window.loadURL(`file://${__dirname}/../../vector/index.html`);
window.on('closed', () => { window.on('closed', () => {