Change to Electron version 7, fix some breaking changes.

This commit is contained in:
Gregor Biswanger
2019-11-28 22:34:49 +01:00
parent 42f09de7b5
commit f5e2abfdb4
24 changed files with 929 additions and 1493 deletions

View File

@@ -42,7 +42,7 @@ module.exports = (socket) => {
}
notification.show();
});
socket.on('notificationIsSupported', (options) => {
socket.on('notificationIsSupported', () => {
const isSupported = electron_1.Notification.isSupported;
electronSocket.emit('notificationIsSupportedComplete', isSupported);
});