diff --git a/ElectronNET.API/App.cs b/ElectronNET.API/App.cs index cf23444..6717e63 100644 --- a/ElectronNET.API/App.cs +++ b/ElectronNET.API/App.cs @@ -1307,6 +1307,13 @@ namespace ElectronNET.API BridgeConnector.Emit("appSetAboutPanelOptions", JObject.FromObject(options, _jsonSerializer)); } + /// + /// Fetches a path's associated icon. + /// + /// + /// + public Task GetFileIcon(string path) => BridgeConnector.OnResult("appGetFileIcon", "appGetFileIconCompleted", path); + /// /// A which is the user agent string Electron will use as a global fallback. ///