Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.

Commit

Permalink
Removed some console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
tahnik committed Jul 16, 2017
1 parent 79b5177 commit 09e469e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
12 changes: 3 additions & 9 deletions app/src/main/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,23 +187,17 @@ ipcMain.on('updateNow', () => {
//-------------------------------------------------------------------
// autoUpdater.on('checking-for-update', () => {
// });
autoUpdater.on('update-available', (info) => {
console.log(info);
autoUpdater.on('update-available', () => {
});
autoUpdater.on('update-not-available', (info) => {
console.log(info);
autoUpdater.on('update-not-available', () => {
mainWindow.webContents.send('upTodate');
});
// autoUpdater.on('error', (err) => {
// });
// autoUpdater.on('download-progress', (progressObj) => {
// });
autoUpdater.on('update-downloaded', (info) => {
console.log(info);
autoUpdater.on('update-downloaded', () => {
mainWindow.webContents.send('newUpdate');
// setTimeout(() => {
// autoUpdater.quitAndInstall();
// }, 5000);
});

app.on('ready', () => {
Expand Down
1 change: 0 additions & 1 deletion app/src/main/js/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const store = createStore(reducers, initialState, composeEnhancers(
));

if (initialState) {
console.log(initialState);
if (initialState.settings) {
store.dispatch(setOnStartup());
} else if (
Expand Down

0 comments on commit 09e469e

Please sign in to comment.