Skip to content

Commit

Permalink
add a logger to the example
Browse files Browse the repository at this point in the history
  • Loading branch information
megahertz committed Oct 14, 2016
1 parent db54ac1 commit 1f269db
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions example/app/main.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
'use strict';

const {app, BrowserWindow} = require('electron');
const updater = require('electron-simple-updater');
const updater = require('../../index');
//const updater = require('electron-simple-updater');


updater.init();
updater.init({
logger: require('electron-log')
});

let mainWindow;
app.on('ready', () => {
Expand Down

0 comments on commit 1f269db

Please sign in to comment.