Commit 7760b8a9 authored by Julian Frosch's avatar Julian Frosch
Browse files

Disabled DevToolbar on startup, hid the menubar, disabled error-reporting...

parent f3be569f
......@@ -2,8 +2,8 @@ const electron = require('electron');
const app = electron.app; // Module to control application life.
const BrowserWindow = electron.BrowserWindow; // Module to create native browser window.
// Report crashes to our server.
electron.crashReporter.start();
// Report crashes to our server. Nope.
//electron.crashReporter.start();
// Keep a global reference of the window object, if you don't, the window will
// be closed automatically when the JavaScript object is garbage collected.
......@@ -24,13 +24,13 @@ app.on('ready', function() {
// Create the browser window.
// Note: icon won't work for OSX, only for Linux and Windows
mainWindow = new BrowserWindow({icon:'./res/icon.png', width: 800, height: 600});
mainWindow = new BrowserWindow({icon:'./res/icon.png', width: 600, height: 510, autoHideMenuBar: true});
// and load the index.html of the app.
mainWindow.loadURL('file://' + __dirname + '/index.html');
// Open the DevTools.
mainWindow.webContents.openDevTools();
// Open the DevTools. Not for this 'final' version
//mainWindow.webContents.openDevTools();
// Emitted when the window is closed.
mainWindow.on('closed', function() {
......
{
"name" : "BezLinApp",
"version" : "0.1.0",
"version" : "0.2.0",
"main" : "main.js",
"dependencies": {
"xml2js" : "^0.4.15",
......
Supports Markdown
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