Skip to content

Commit

Permalink
Added update logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryzzzen committed Jul 2, 2018
1 parent d24ed02 commit 742157e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/assets/js/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ $('select[data-settings-key=theme]').change(function() {
})

ipcRenderer.once('update-ready', async (event, data) => {
console.log('Update available ! version: ' + data.version);
console.dir(data);

$('.tablinks[data-tabid="update"]').show();

$('.tabcontent[data-tabid="update"] > #version').text(`Version ${data.version}`);
Expand Down

0 comments on commit 742157e

Please sign in to comment.