using System.Runtime.Versioning; namespace ElectronNET.API.Entities { /// /// About panel options. /// /// Up-to-date with Electron API 39.2 public class AboutPanelOptions { /// /// The app's name. /// public string ApplicationName { get; set; } /// /// The app's version. /// public string ApplicationVersion { get; set; } /// /// Copyright information. /// public string Copyright { get; set; } /// /// The app's build version number (macOS). /// [SupportedOSPlatform("macos")] public string Version { get; set; } /// /// Credit information (macOS, Windows). /// [SupportedOSPlatform("macos")] [SupportedOSPlatform("windows")] public string Credits { get; set; } /// /// List of app authors (Linux). /// [SupportedOSPlatform("linux")] public string[] Authors { get; set; } /// /// The app's website (Linux). /// [SupportedOSPlatform("linux")] public string Website { get; set; } /// /// Path to the app's icon in a JPEG or PNG file format. On Linux, will be shown as 64x64 pixels while retaining aspect ratio. On Windows, a 48x48 PNG will result in the best visual quality. /// [SupportedOSPlatform("linux")] [SupportedOSPlatform("windows")] public string IconPath { get; set; } } }