update to the new electron version

This commit is contained in:
Gregor Biswanger
2018-01-23 23:41:15 +01:00
parent c8aec57f31
commit 331ebb3d7f
3 changed files with 52 additions and 75 deletions

View File

@@ -22,7 +22,7 @@ namespace ElectronNET.WebApp.Controllers
await Electron.Dialog.ShowMessageBoxAsync(options);
});
Electron.App.WillQuit += (args) => Task.Run(() => Electron.GlobalShortcut.UnregisterAll());
Electron.App.WillQuit += () => Task.Run(() => Electron.GlobalShortcut.UnregisterAll());
}
return View();