Skip to content

Commit 427b57a

Browse files
Update Changelog
1 parent cc0b15c commit 427b57a

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

Changelog.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,29 @@ ElectronNET.API:
1616
* New Feature: Native Electron 11.1.1 support, but not all new features (we search contributors)
1717
* Breaking API Changes (from native Electron 11.0): - Removed: BrowserView.{destroy, fromId, fromWebContents, getAllViews} and id property of BrowserView
1818
* New Feature: Upgrade to .NET 5 (thanks [scottkuhl](https://github.com/scottkuhl)) [\#509](https://github.com/ElectronNET/Electron.NET/pull/509)
19+
* New Feature: Extension Method for adding the Electron static class members to the standard MS DI Containers, this is a QOL issue only. `services.AddElectron()` (thanks [danatcofo](https://github.com/danatcofo )) [\#528](https://github.com/ElectronNET/Electron.NET/pull/528)
20+
* New Feature: SetMenu completed for the Dock (MacOS) (thanks [danatcofo](https://github.com/danatcofo )) [\#528](https://github.com/ElectronNET/Electron.NET/pull/528)
21+
22+
Example for the Dock Menu
23+
24+
`Electron.Dock.SetMenu(new [] {
25+
new MenuItem {
26+
Label = "Dock Menu Item",
27+
Click = () => {
28+
// do something
29+
}
30+
},
31+
});`
32+
33+
Example for consuming the activate event (MacOs only)
34+
35+
`Electron.App.On("activate", obj => {
36+
var hasWindows = (bool)obj;
37+
// do something
38+
});`
39+
40+
* New Feature: On and Once implementations for the App and Tray to cover the plethora of events that are not mapped explicitly in those two modules. (thanks [danatcofo](https://github.com/danatcofo )) [\#528](https://github.com/ElectronNET/Electron.NET/pull/528)
41+
* New Feature: Adding the `EnableRemoteModule` property to the WebPreferences object. As of Electron 10, this property defaulted to false and without it exposed you can't use the remote module within a window. (thanks [danatcofo](https://github.com/danatcofo )) [\#528](https://github.com/ElectronNET/Electron.NET/pull/528)
1942
* New Feature: Adding a configurable default electron port. (thanks [aarong-av](https://github.com/aarong-av)) [\#505](https://github.com/ElectronNET/Electron.NET/pull/505)
2043
* New Feature: Added support for launching the application with a file on MacOS (thanks [dlitty](https://github.com/dlitty)) [\#478](https://github.com/ElectronNET/Electron.NET/pull/478)
2144
* Improved: Avoid Blocking Calls in App and AutoUpdater (thanks [freosc](https://github.com/freosc)) [\#474](https://github.com/ElectronNET/Electron.NET/pull/474)

ElectronNET.WebApp/wwwroot/assets/nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ function showNav() {
7777
setTimeout(() => {
7878
activateDefaultSection();
7979
displayAbout();
80-
}, 1000);
80+
}, 100);

0 commit comments

Comments
 (0)