Skip to content

Commit

Permalink
Remove leftover test notification
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Jan 18, 2022
1 parent b10c7d8 commit 70b01b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "boson",
"productName": "boson",
"version": "0.0.4-alpha.9",
"version": "0.0.4-alpha.10",
"author": "José Sánchez-Gallego <[email protected]>",
"description": "SDSS observer graphical user interface",
"repository": "github:albireox/boson",
Expand Down
15 changes: 0 additions & 15 deletions src/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,21 +187,6 @@ app.on('ready', () => {
autoUpdater.autoDownload = true;
checkForUpdates();
}

const notification = new Notification({
title: 'Update available',
body: 'An update is now available. Boson will be installed when the app quits.',
silent: false,
actions: [{ type: 'button', text: 'Restart' }]
});

// notification.on('action', (e, i) => {
// if (i === 0) autoUpdater.quitAndInstall();
// });

notification.on('click', (e) => {});

notification.show();
}
}
Menu.setApplicationMenu(menu);
Expand Down

0 comments on commit 70b01b0

Please sign in to comment.