mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-09-25 08:25:04 +00:00
Change to Electron version 7, fix some breaking changes.
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user