From 70b01b05b329b314cac438caaf8dd4e204459fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20S=C3=A1nchez-Gallego?= Date: Tue, 18 Jan 2022 14:19:34 -0800 Subject: [PATCH] Remove leftover test notification --- package.json | 2 +- src/main/main.ts | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/package.json b/package.json index ede95e0..ed680c9 100644 --- a/package.json +++ b/package.json @@ -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 ", "description": "SDSS observer graphical user interface", "repository": "github:albireox/boson", diff --git a/src/main/main.ts b/src/main/main.ts index 4ea47f6..87b7e9e 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -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);